commit 899d816bc30c7be109c296fabf8514f99a71d880
Author: xuanchen <122383162@qq.com>
Date: Mon Apr 1 09:54:43 2024 +0800
first commit
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e135131
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,24 @@
+/vendor/
+node_modules/
+npm-debug.log
+yarn-error.log
+
+# Laravel 4 specific
+bootstrap/compiled.php
+app/storage/
+
+# Laravel 5 & Lumen specific
+public/storage
+public/hot
+
+# Laravel 5 & Lumen specific with changed public path
+public_html/storage
+public_html/hot
+
+storage/*.key
+.env
+Homestead.yaml
+Homestead.json
+/.vagrant
+.phpunit.result.cache
+.idea
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4f5ef29
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# YeePay
+域展科技-易宝支付
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..127453b
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,32 @@
+{
+ "name": "xuanchen/yee-pay",
+ "description": "域展科技-易宝支付",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Leady",
+ "email": "149307205@qq.com"
+ }
+ ],
+ "require": {
+ "php": "^7.4",
+ "laravel/framework": "^8.5",
+ "guzzlehttp/guzzle": "^7.3"
+ },
+ "autoload": {
+ "psr-4": {
+ "Leady\\YeePay\\": "src/",
+ "Yeepay\\Yop\\Sdk\\": "lib/"
+ }
+ },
+ "extra": {
+ "laravel": {
+ "providers": [
+ "Leady\\YeePay\\ServiceProvider"
+ ],
+ "aliases": {
+ "LeadyYeePay": "Leady\\YeePay\\Facade"
+ }
+ }
+ }
+}
diff --git a/composer.lock b/composer.lock
new file mode 100644
index 0000000..2555bb5
--- /dev/null
+++ b/composer.lock
@@ -0,0 +1,5299 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+ "This file is @generated automatically"
+ ],
+ "content-hash": "dd1b1f0a47e1141e5162d3f966b30c3f",
+ "packages": [
+ {
+ "name": "brick/math",
+ "version": "0.9.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/brick/math.git",
+ "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae",
+ "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "php-coveralls/php-coveralls": "^2.2",
+ "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0",
+ "vimeo/psalm": "4.9.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Brick\\Math\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Arbitrary-precision arithmetic library",
+ "keywords": [
+ "Arbitrary-precision",
+ "BigInteger",
+ "BigRational",
+ "arithmetic",
+ "bigdecimal",
+ "bignum",
+ "brick",
+ "math"
+ ],
+ "support": {
+ "issues": "https://github.com/brick/math/issues",
+ "source": "https://github.com/brick/math/tree/0.9.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/BenMorel",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/brick/math",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-15T20:50:18+00:00"
+ },
+ {
+ "name": "dflydev/dot-access-data",
+ "version": "v3.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/dflydev/dflydev-dot-access-data.git",
+ "reference": "0992cc19268b259a39e86f296da5f0677841f42c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/0992cc19268b259a39e86f296da5f0677841f42c",
+ "reference": "0992cc19268b259a39e86f296da5f0677841f42c",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^0.12.42",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3",
+ "scrutinizer/ocular": "1.6.0",
+ "squizlabs/php_codesniffer": "^3.5",
+ "vimeo/psalm": "^3.14"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "3.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Dflydev\\DotAccessData\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Dragonfly Development Inc.",
+ "email": "info@dflydev.com",
+ "homepage": "http://dflydev.com"
+ },
+ {
+ "name": "Beau Simensen",
+ "email": "beau@dflydev.com",
+ "homepage": "http://beausimensen.com"
+ },
+ {
+ "name": "Carlos Frutos",
+ "email": "carlos@kiwing.it",
+ "homepage": "https://github.com/cfrutos"
+ },
+ {
+ "name": "Colin O'Dell",
+ "email": "colinodell@gmail.com",
+ "homepage": "https://www.colinodell.com"
+ }
+ ],
+ "description": "Given a deep data structure, access data by dot notation.",
+ "homepage": "https://github.com/dflydev/dflydev-dot-access-data",
+ "keywords": [
+ "access",
+ "data",
+ "dot",
+ "notation"
+ ],
+ "support": {
+ "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues",
+ "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.1"
+ },
+ "time": "2021-08-13T13:06:58+00:00"
+ },
+ {
+ "name": "doctrine/inflector",
+ "version": "2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/inflector.git",
+ "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210",
+ "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^7.0",
+ "phpstan/phpstan": "^0.11",
+ "phpstan/phpstan-phpunit": "^0.11",
+ "phpstan/phpstan-strict-rules": "^0.11",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Inflector\\": "lib/Doctrine/Inflector"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
+ {
+ "name": "Benjamin Eberlei",
+ "email": "kontakt@beberlei.de"
+ },
+ {
+ "name": "Jonathan Wage",
+ "email": "jonwage@gmail.com"
+ },
+ {
+ "name": "Johannes Schmitt",
+ "email": "schmittjoh@gmail.com"
+ }
+ ],
+ "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.",
+ "homepage": "https://www.doctrine-project.org/projects/inflector.html",
+ "keywords": [
+ "inflection",
+ "inflector",
+ "lowercase",
+ "manipulation",
+ "php",
+ "plural",
+ "singular",
+ "strings",
+ "uppercase",
+ "words"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/inflector/issues",
+ "source": "https://github.com/doctrine/inflector/tree/2.0.x"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-05-29T15:13:26+00:00"
+ },
+ {
+ "name": "doctrine/lexer",
+ "version": "1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/lexer.git",
+ "reference": "e864bbf5904cb8f5bb334f99209b48018522f042"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/e864bbf5904cb8f5bb334f99209b48018522f042",
+ "reference": "e864bbf5904cb8f5bb334f99209b48018522f042",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^6.0",
+ "phpstan/phpstan": "^0.11.8",
+ "phpunit/phpunit": "^8.2"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.2.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
+ {
+ "name": "Johannes Schmitt",
+ "email": "schmittjoh@gmail.com"
+ }
+ ],
+ "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",
+ "homepage": "https://www.doctrine-project.org/projects/lexer.html",
+ "keywords": [
+ "annotations",
+ "docblock",
+ "lexer",
+ "parser",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/doctrine/lexer/issues",
+ "source": "https://github.com/doctrine/lexer/tree/1.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-05-25T17:44:05+00:00"
+ },
+ {
+ "name": "dragonmantank/cron-expression",
+ "version": "v3.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/dragonmantank/cron-expression.git",
+ "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c",
+ "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.2|^8.0",
+ "webmozart/assert": "^1.7.0"
+ },
+ "replace": {
+ "mtdowling/cron-expression": "^1.0"
+ },
+ "require-dev": {
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan-webmozart-assert": "^0.12.7",
+ "phpunit/phpunit": "^7.0|^8.0|^9.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Cron\\": "src/Cron/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Chris Tankersley",
+ "email": "chris@ctankersley.com",
+ "homepage": "https://github.com/dragonmantank"
+ }
+ ],
+ "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",
+ "keywords": [
+ "cron",
+ "schedule"
+ ],
+ "support": {
+ "issues": "https://github.com/dragonmantank/cron-expression/issues",
+ "source": "https://github.com/dragonmantank/cron-expression/tree/v3.1.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/dragonmantank",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-24T19:55:57+00:00"
+ },
+ {
+ "name": "egulias/email-validator",
+ "version": "2.1.25",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/egulias/EmailValidator.git",
+ "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4",
+ "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "doctrine/lexer": "^1.0.1",
+ "php": ">=5.5",
+ "symfony/polyfill-intl-idn": "^1.10"
+ },
+ "require-dev": {
+ "dominicsayers/isemail": "^3.0.7",
+ "phpunit/phpunit": "^4.8.36|^7.5.15",
+ "satooshi/php-coveralls": "^1.0.1"
+ },
+ "suggest": {
+ "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Egulias\\EmailValidator\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Eduardo Gulias Davis"
+ }
+ ],
+ "description": "A library for validating emails against several RFCs",
+ "homepage": "https://github.com/egulias/EmailValidator",
+ "keywords": [
+ "email",
+ "emailvalidation",
+ "emailvalidator",
+ "validation",
+ "validator"
+ ],
+ "support": {
+ "issues": "https://github.com/egulias/EmailValidator/issues",
+ "source": "https://github.com/egulias/EmailValidator/tree/2.1.25"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/egulias",
+ "type": "github"
+ }
+ ],
+ "time": "2020-12-29T14:50:06+00:00"
+ },
+ {
+ "name": "graham-campbell/result-type",
+ "version": "v1.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/GrahamCampbell/Result-Type.git",
+ "reference": "84afea85c6841deeea872f36249a206e878a5de0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/84afea85c6841deeea872f36249a206e878a5de0",
+ "reference": "84afea85c6841deeea872f36249a206e878a5de0",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.0 || ^8.0",
+ "phpoption/phpoption": "^1.8"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "GrahamCampbell\\ResultType\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk"
+ }
+ ],
+ "description": "An Implementation Of The Result Type",
+ "keywords": [
+ "Graham Campbell",
+ "GrahamCampbell",
+ "Result Type",
+ "Result-Type",
+ "result"
+ ],
+ "support": {
+ "issues": "https://github.com/GrahamCampbell/Result-Type/issues",
+ "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-28T21:34:50+00:00"
+ },
+ {
+ "name": "guzzlehttp/guzzle",
+ "version": "7.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/guzzle.git",
+ "reference": "7008573787b430c1c1f650e3722d9bba59967628"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628",
+ "reference": "7008573787b430c1c1f650e3722d9bba59967628",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-json": "*",
+ "guzzlehttp/promises": "^1.4",
+ "guzzlehttp/psr7": "^1.7 || ^2.0",
+ "php": "^7.2.5 || ^8.0",
+ "psr/http-client": "^1.0"
+ },
+ "provide": {
+ "psr/http-client-implementation": "1.0"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "ext-curl": "*",
+ "php-http/client-integration-tests": "^3.0",
+ "phpunit/phpunit": "^8.5.5 || ^9.3.5",
+ "psr/log": "^1.1"
+ },
+ "suggest": {
+ "ext-curl": "Required for CURL handler support",
+ "ext-intl": "Required for Internationalized Domain Name (IDN) support",
+ "psr/log": "Required for using the Log middleware"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "7.3-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\": "src/"
+ },
+ "files": [
+ "src/functions_include.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com",
+ "homepage": "https://sagikazarmark.hu"
+ }
+ ],
+ "description": "Guzzle is a PHP HTTP client library",
+ "homepage": "http://guzzlephp.org/",
+ "keywords": [
+ "client",
+ "curl",
+ "framework",
+ "http",
+ "http client",
+ "psr-18",
+ "psr-7",
+ "rest",
+ "web service"
+ ],
+ "support": {
+ "issues": "https://github.com/guzzle/guzzle/issues",
+ "source": "https://github.com/guzzle/guzzle/tree/7.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/alexeyshockov",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/gmponos",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-23T11:33:13+00:00"
+ },
+ {
+ "name": "guzzlehttp/promises",
+ "version": "1.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/promises.git",
+ "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
+ "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=5.5"
+ },
+ "require-dev": {
+ "symfony/phpunit-bridge": "^4.4 || ^5.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Promise\\": "src/"
+ },
+ "files": [
+ "src/functions_include.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ }
+ ],
+ "description": "Guzzle promises library",
+ "keywords": [
+ "promise"
+ ],
+ "support": {
+ "issues": "https://github.com/guzzle/promises/issues",
+ "source": "https://github.com/guzzle/promises/tree/1.4.1"
+ },
+ "time": "2021-03-07T09:25:29+00:00"
+ },
+ {
+ "name": "guzzlehttp/psr7",
+ "version": "2.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/psr7.git",
+ "reference": "1dc8d9cba3897165e16d12bb13d813afb1eb3fe7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/1dc8d9cba3897165e16d12bb13d813afb1eb3fe7",
+ "reference": "1dc8d9cba3897165e16d12bb13d813afb1eb3fe7",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.2.5 || ^8.0",
+ "psr/http-factory": "^1.0",
+ "psr/http-message": "^1.0",
+ "ralouphie/getallheaders": "^3.0"
+ },
+ "provide": {
+ "psr/http-factory-implementation": "1.0",
+ "psr/http-message-implementation": "1.0"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "http-interop/http-factory-tests": "^0.9",
+ "phpunit/phpunit": "^8.5.8 || ^9.3.10"
+ },
+ "suggest": {
+ "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Psr7\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Tobias Schultze",
+ "homepage": "https://github.com/Tobion"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com",
+ "homepage": "https://sagikazarmark.hu"
+ }
+ ],
+ "description": "PSR-7 message implementation that also provides common utility methods",
+ "keywords": [
+ "http",
+ "message",
+ "psr-7",
+ "request",
+ "response",
+ "stream",
+ "uri",
+ "url"
+ ],
+ "support": {
+ "issues": "https://github.com/guzzle/psr7/issues",
+ "source": "https://github.com/guzzle/psr7/tree/2.0.0"
+ },
+ "time": "2021-06-30T20:03:07+00:00"
+ },
+ {
+ "name": "laravel/framework",
+ "version": "v8.60.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/laravel/framework.git",
+ "reference": "44f16a31a1d4ac8a51605550d7796e2273984a48"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/44f16a31a1d4ac8a51605550d7796e2273984a48",
+ "reference": "44f16a31a1d4ac8a51605550d7796e2273984a48",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "doctrine/inflector": "^1.4|^2.0",
+ "dragonmantank/cron-expression": "^3.0.2",
+ "egulias/email-validator": "^2.1.10",
+ "ext-json": "*",
+ "ext-mbstring": "*",
+ "ext-openssl": "*",
+ "league/commonmark": "^1.3|^2.0",
+ "league/flysystem": "^1.1",
+ "monolog/monolog": "^2.0",
+ "nesbot/carbon": "^2.31",
+ "opis/closure": "^3.6",
+ "php": "^7.3|^8.0",
+ "psr/container": "^1.0",
+ "psr/simple-cache": "^1.0",
+ "ramsey/uuid": "^4.0",
+ "swiftmailer/swiftmailer": "^6.0",
+ "symfony/console": "^5.1.4",
+ "symfony/error-handler": "^5.1.4",
+ "symfony/finder": "^5.1.4",
+ "symfony/http-foundation": "^5.1.4",
+ "symfony/http-kernel": "^5.1.4",
+ "symfony/mime": "^5.1.4",
+ "symfony/process": "^5.1.4",
+ "symfony/routing": "^5.1.4",
+ "symfony/var-dumper": "^5.1.4",
+ "tijsverkoyen/css-to-inline-styles": "^2.2.2",
+ "vlucas/phpdotenv": "^5.2",
+ "voku/portable-ascii": "^1.4.8"
+ },
+ "conflict": {
+ "tightenco/collect": "<5.5.33"
+ },
+ "provide": {
+ "psr/container-implementation": "1.0"
+ },
+ "replace": {
+ "illuminate/auth": "self.version",
+ "illuminate/broadcasting": "self.version",
+ "illuminate/bus": "self.version",
+ "illuminate/cache": "self.version",
+ "illuminate/collections": "self.version",
+ "illuminate/config": "self.version",
+ "illuminate/console": "self.version",
+ "illuminate/container": "self.version",
+ "illuminate/contracts": "self.version",
+ "illuminate/cookie": "self.version",
+ "illuminate/database": "self.version",
+ "illuminate/encryption": "self.version",
+ "illuminate/events": "self.version",
+ "illuminate/filesystem": "self.version",
+ "illuminate/hashing": "self.version",
+ "illuminate/http": "self.version",
+ "illuminate/log": "self.version",
+ "illuminate/macroable": "self.version",
+ "illuminate/mail": "self.version",
+ "illuminate/notifications": "self.version",
+ "illuminate/pagination": "self.version",
+ "illuminate/pipeline": "self.version",
+ "illuminate/queue": "self.version",
+ "illuminate/redis": "self.version",
+ "illuminate/routing": "self.version",
+ "illuminate/session": "self.version",
+ "illuminate/support": "self.version",
+ "illuminate/testing": "self.version",
+ "illuminate/translation": "self.version",
+ "illuminate/validation": "self.version",
+ "illuminate/view": "self.version"
+ },
+ "require-dev": {
+ "aws/aws-sdk-php": "^3.189.0",
+ "doctrine/dbal": "^2.6|^3.0",
+ "filp/whoops": "^2.8",
+ "guzzlehttp/guzzle": "^6.5.5|^7.0.1",
+ "league/flysystem-cached-adapter": "^1.0",
+ "mockery/mockery": "^1.4.2",
+ "orchestra/testbench-core": "^6.23",
+ "pda/pheanstalk": "^4.0",
+ "phpunit/phpunit": "^8.5.8|^9.3.3",
+ "predis/predis": "^1.1.2",
+ "symfony/cache": "^5.1.4"
+ },
+ "suggest": {
+ "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.189.0).",
+ "brianium/paratest": "Required to run tests in parallel (^6.0).",
+ "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
+ "ext-ftp": "Required to use the Flysystem FTP driver.",
+ "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
+ "ext-memcached": "Required to use the memcache cache driver.",
+ "ext-pcntl": "Required to use all features of the queue worker.",
+ "ext-posix": "Required to use all features of the queue worker.",
+ "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
+ "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
+ "filp/whoops": "Required for friendly error pages in development (^2.8).",
+ "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.5.5|^7.0.1).",
+ "laravel/tinker": "Required to use the tinker console command (^2.0).",
+ "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).",
+ "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).",
+ "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).",
+ "mockery/mockery": "Required to use mocking (^1.4.2).",
+ "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).",
+ "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).",
+ "phpunit/phpunit": "Required to use assertions and run tests (^8.5.8|^9.3.3).",
+ "predis/predis": "Required to use the predis connector (^1.1.2).",
+ "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
+ "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0).",
+ "symfony/cache": "Required to PSR-6 cache bridge (^5.1.4).",
+ "symfony/filesystem": "Required to enable support for relative symbolic links (^5.1.4).",
+ "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).",
+ "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "8.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/Illuminate/Collections/helpers.php",
+ "src/Illuminate/Events/functions.php",
+ "src/Illuminate/Foundation/helpers.php",
+ "src/Illuminate/Support/helpers.php"
+ ],
+ "psr-4": {
+ "Illuminate\\": "src/Illuminate/",
+ "Illuminate\\Support\\": [
+ "src/Illuminate/Macroable/",
+ "src/Illuminate/Collections/"
+ ]
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "The Laravel Framework.",
+ "homepage": "https://laravel.com",
+ "keywords": [
+ "framework",
+ "laravel"
+ ],
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2021-09-08T13:37:21+00:00"
+ },
+ {
+ "name": "league/commonmark",
+ "version": "2.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/commonmark.git",
+ "reference": "2df87709f44b0dd733df86aef0830dce9b1f0f13"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/2df87709f44b0dd733df86aef0830dce9b1f0f13",
+ "reference": "2df87709f44b0dd733df86aef0830dce9b1f0f13",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-mbstring": "*",
+ "league/config": "^1.1.1",
+ "php": "^7.4 || ^8.0",
+ "psr/event-dispatcher": "^1.0",
+ "symfony/polyfill-php80": "^1.15"
+ },
+ "require-dev": {
+ "cebe/markdown": "^1.0",
+ "commonmark/cmark": "0.30.0",
+ "commonmark/commonmark.js": "0.30.0",
+ "composer/package-versions-deprecated": "^1.8",
+ "erusev/parsedown": "^1.0",
+ "ext-json": "*",
+ "github/gfm": "0.29.0",
+ "michelf/php-markdown": "^1.4",
+ "phpstan/phpstan": "^0.12.88",
+ "phpunit/phpunit": "^9.5.5",
+ "scrutinizer/ocular": "^1.8.1",
+ "symfony/finder": "^5.3",
+ "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0",
+ "unleashedtech/php-coding-standard": "^3.1",
+ "vimeo/psalm": "^4.7.3"
+ },
+ "suggest": {
+ "symfony/yaml": "v2.3+ required if using the Front Matter extension"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.1-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "League\\CommonMark\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Colin O'Dell",
+ "email": "colinodell@gmail.com",
+ "homepage": "https://www.colinodell.com",
+ "role": "Lead Developer"
+ }
+ ],
+ "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)",
+ "homepage": "https://commonmark.thephpleague.com",
+ "keywords": [
+ "commonmark",
+ "flavored",
+ "gfm",
+ "github",
+ "github-flavored",
+ "markdown",
+ "md",
+ "parser"
+ ],
+ "support": {
+ "docs": "https://commonmark.thephpleague.com/",
+ "forum": "https://github.com/thephpleague/commonmark/discussions",
+ "issues": "https://github.com/thephpleague/commonmark/issues",
+ "rss": "https://github.com/thephpleague/commonmark/releases.atom",
+ "source": "https://github.com/thephpleague/commonmark"
+ },
+ "funding": [
+ {
+ "url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.colinodell.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.paypal.me/colinpodell/10.00",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/colinodell",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/colinodell",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/league/commonmark",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-14T14:06:04+00:00"
+ },
+ {
+ "name": "league/config",
+ "version": "v1.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/config.git",
+ "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/config/zipball/a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e",
+ "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "dflydev/dot-access-data": "^3.0.1",
+ "nette/schema": "^1.2",
+ "php": "^7.4 || ^8.0"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^0.12.90",
+ "phpunit/phpunit": "^9.5.5",
+ "scrutinizer/ocular": "^1.8.1",
+ "unleashedtech/php-coding-standard": "^3.1",
+ "vimeo/psalm": "^4.7.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.2-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "League\\Config\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Colin O'Dell",
+ "email": "colinodell@gmail.com",
+ "homepage": "https://www.colinodell.com",
+ "role": "Lead Developer"
+ }
+ ],
+ "description": "Define configuration arrays with strict schemas and access values with dot notation",
+ "homepage": "https://config.thephpleague.com",
+ "keywords": [
+ "array",
+ "config",
+ "configuration",
+ "dot",
+ "dot-access",
+ "nested",
+ "schema"
+ ],
+ "support": {
+ "docs": "https://config.thephpleague.com/",
+ "issues": "https://github.com/thephpleague/config/issues",
+ "rss": "https://github.com/thephpleague/config/releases.atom",
+ "source": "https://github.com/thephpleague/config"
+ },
+ "funding": [
+ {
+ "url": "https://www.colinodell.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.paypal.me/colinpodell/10.00",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/colinodell",
+ "type": "github"
+ }
+ ],
+ "time": "2021-08-14T12:15:32+00:00"
+ },
+ {
+ "name": "league/flysystem",
+ "version": "1.1.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/flysystem.git",
+ "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/18634df356bfd4119fe3d6156bdb990c414c14ea",
+ "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-fileinfo": "*",
+ "league/mime-type-detection": "^1.3",
+ "php": "^7.2.5 || ^8.0"
+ },
+ "conflict": {
+ "league/flysystem-sftp": "<1.0.6"
+ },
+ "require-dev": {
+ "phpspec/prophecy": "^1.11.1",
+ "phpunit/phpunit": "^8.5.8"
+ },
+ "suggest": {
+ "ext-ftp": "Allows you to use FTP server storage",
+ "ext-openssl": "Allows you to use FTPS server storage",
+ "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2",
+ "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3",
+ "league/flysystem-azure": "Allows you to use Windows Azure Blob storage",
+ "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching",
+ "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem",
+ "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files",
+ "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib",
+ "league/flysystem-webdav": "Allows you to use WebDAV storage",
+ "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter",
+ "spatie/flysystem-dropbox": "Allows you to use Dropbox storage",
+ "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "League\\Flysystem\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Frank de Jonge",
+ "email": "info@frenky.net"
+ }
+ ],
+ "description": "Filesystem abstraction: Many filesystems, one API.",
+ "keywords": [
+ "Cloud Files",
+ "WebDAV",
+ "abstraction",
+ "aws",
+ "cloud",
+ "copy.com",
+ "dropbox",
+ "file systems",
+ "files",
+ "filesystem",
+ "filesystems",
+ "ftp",
+ "rackspace",
+ "remote",
+ "s3",
+ "sftp",
+ "storage"
+ ],
+ "support": {
+ "issues": "https://github.com/thephpleague/flysystem/issues",
+ "source": "https://github.com/thephpleague/flysystem/tree/1.1.5"
+ },
+ "funding": [
+ {
+ "url": "https://offset.earth/frankdejonge",
+ "type": "other"
+ }
+ ],
+ "time": "2021-08-17T13:49:42+00:00"
+ },
+ {
+ "name": "league/mime-type-detection",
+ "version": "1.7.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/mime-type-detection.git",
+ "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
+ "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-fileinfo": "*",
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^2.18",
+ "phpstan/phpstan": "^0.12.68",
+ "phpunit/phpunit": "^8.5.8 || ^9.3"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "League\\MimeTypeDetection\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Frank de Jonge",
+ "email": "info@frankdejonge.nl"
+ }
+ ],
+ "description": "Mime-type detection for Flysystem",
+ "support": {
+ "issues": "https://github.com/thephpleague/mime-type-detection/issues",
+ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.7.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/frankdejonge",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/league/flysystem",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-01-18T20:58:21+00:00"
+ },
+ {
+ "name": "monolog/monolog",
+ "version": "2.3.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Seldaek/monolog.git",
+ "reference": "71312564759a7db5b789296369c1a264efc43aad"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/71312564759a7db5b789296369c1a264efc43aad",
+ "reference": "71312564759a7db5b789296369c1a264efc43aad",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2",
+ "psr/log": "^1.0.1"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0.0"
+ },
+ "require-dev": {
+ "aws/aws-sdk-php": "^2.4.9 || ^3.0",
+ "doctrine/couchdb": "~1.0@dev",
+ "elasticsearch/elasticsearch": "^7",
+ "graylog2/gelf-php": "^1.4.2",
+ "mongodb/mongodb": "^1.8",
+ "php-amqplib/php-amqplib": "~2.4",
+ "php-console/php-console": "^3.1.3",
+ "phpspec/prophecy": "^1.6.1",
+ "phpstan/phpstan": "^0.12.91",
+ "phpunit/phpunit": "^8.5",
+ "predis/predis": "^1.1",
+ "rollbar/rollbar": "^1.3",
+ "ruflin/elastica": ">=0.90 <7.0.1",
+ "swiftmailer/swiftmailer": "^5.3|^6.0"
+ },
+ "suggest": {
+ "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
+ "doctrine/couchdb": "Allow sending log messages to a CouchDB server",
+ "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
+ "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
+ "ext-mbstring": "Allow to work properly with unicode symbols",
+ "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
+ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
+ "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
+ "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
+ "php-console/php-console": "Allow sending log messages to Google Chrome",
+ "rollbar/rollbar": "Allow sending log messages to Rollbar",
+ "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Monolog\\": "src/Monolog"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jordi Boggiano",
+ "email": "j.boggiano@seld.be",
+ "homepage": "https://seld.be"
+ }
+ ],
+ "description": "Sends your logs to files, sockets, inboxes, databases and various web services",
+ "homepage": "https://github.com/Seldaek/monolog",
+ "keywords": [
+ "log",
+ "logging",
+ "psr-3"
+ ],
+ "support": {
+ "issues": "https://github.com/Seldaek/monolog/issues",
+ "source": "https://github.com/Seldaek/monolog/tree/2.3.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/Seldaek",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/monolog/monolog",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-07-23T07:42:52+00:00"
+ },
+ {
+ "name": "nesbot/carbon",
+ "version": "2.53.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/briannesbitt/Carbon.git",
+ "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f4655858a784988f880c1b8c7feabbf02dfdf045",
+ "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.1.8 || ^8.0",
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation": "^3.4 || ^4.0 || ^5.0"
+ },
+ "require-dev": {
+ "doctrine/orm": "^2.7",
+ "friendsofphp/php-cs-fixer": "^3.0",
+ "kylekatarnls/multi-tester": "^2.0",
+ "phpmd/phpmd": "^2.9",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12.54",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.14",
+ "squizlabs/php_codesniffer": "^3.4"
+ },
+ "bin": [
+ "bin/carbon"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-3.x": "3.x-dev",
+ "dev-master": "2.x-dev"
+ },
+ "laravel": {
+ "providers": [
+ "Carbon\\Laravel\\ServiceProvider"
+ ]
+ },
+ "phpstan": {
+ "includes": [
+ "extension.neon"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Carbon\\": "src/Carbon/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Brian Nesbitt",
+ "email": "brian@nesbot.com",
+ "homepage": "https://markido.com"
+ },
+ {
+ "name": "kylekatarnls",
+ "homepage": "https://github.com/kylekatarnls"
+ }
+ ],
+ "description": "An API extension for DateTime that supports 281 different languages.",
+ "homepage": "https://carbon.nesbot.com",
+ "keywords": [
+ "date",
+ "datetime",
+ "time"
+ ],
+ "support": {
+ "issues": "https://github.com/briannesbitt/Carbon/issues",
+ "source": "https://github.com/briannesbitt/Carbon"
+ },
+ "funding": [
+ {
+ "url": "https://opencollective.com/Carbon",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-09-06T09:29:23+00:00"
+ },
+ {
+ "name": "nette/schema",
+ "version": "v1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nette/schema.git",
+ "reference": "f5ed39fc96358f922cedfd1e516f0dadf5d2be0d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nette/schema/zipball/f5ed39fc96358f922cedfd1e516f0dadf5d2be0d",
+ "reference": "f5ed39fc96358f922cedfd1e516f0dadf5d2be0d",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "nette/utils": "^3.1.4 || ^4.0",
+ "php": ">=7.1 <8.1"
+ },
+ "require-dev": {
+ "nette/tester": "^2.3 || ^2.4",
+ "phpstan/phpstan-nette": "^0.12",
+ "tracy/tracy": "^2.7"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.2-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause",
+ "GPL-2.0-only",
+ "GPL-3.0-only"
+ ],
+ "authors": [
+ {
+ "name": "David Grudl",
+ "homepage": "https://davidgrudl.com"
+ },
+ {
+ "name": "Nette Community",
+ "homepage": "https://nette.org/contributors"
+ }
+ ],
+ "description": "📐 Nette Schema: validating data structures against a given Schema.",
+ "homepage": "https://nette.org",
+ "keywords": [
+ "config",
+ "nette"
+ ],
+ "support": {
+ "issues": "https://github.com/nette/schema/issues",
+ "source": "https://github.com/nette/schema/tree/v1.2.1"
+ },
+ "time": "2021-03-04T17:51:11+00:00"
+ },
+ {
+ "name": "nette/utils",
+ "version": "v3.2.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nette/utils.git",
+ "reference": "5c36cc1ba9bb6abb8a9e425cf054e0c3fd5b9822"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nette/utils/zipball/5c36cc1ba9bb6abb8a9e425cf054e0c3fd5b9822",
+ "reference": "5c36cc1ba9bb6abb8a9e425cf054e0c3fd5b9822",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2 <8.1"
+ },
+ "conflict": {
+ "nette/di": "<3.0.6"
+ },
+ "require-dev": {
+ "nette/tester": "~2.0",
+ "phpstan/phpstan": "^0.12",
+ "tracy/tracy": "^2.3"
+ },
+ "suggest": {
+ "ext-gd": "to use Image",
+ "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()",
+ "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
+ "ext-json": "to use Nette\\Utils\\Json",
+ "ext-mbstring": "to use Strings::lower() etc...",
+ "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()",
+ "ext-xml": "to use Strings::length() etc. when mbstring is not available"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.2-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause",
+ "GPL-2.0-only",
+ "GPL-3.0-only"
+ ],
+ "authors": [
+ {
+ "name": "David Grudl",
+ "homepage": "https://davidgrudl.com"
+ },
+ {
+ "name": "Nette Community",
+ "homepage": "https://nette.org/contributors"
+ }
+ ],
+ "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.",
+ "homepage": "https://nette.org",
+ "keywords": [
+ "array",
+ "core",
+ "datetime",
+ "images",
+ "json",
+ "nette",
+ "paginator",
+ "password",
+ "slugify",
+ "string",
+ "unicode",
+ "utf-8",
+ "utility",
+ "validation"
+ ],
+ "support": {
+ "issues": "https://github.com/nette/utils/issues",
+ "source": "https://github.com/nette/utils/tree/v3.2.3"
+ },
+ "time": "2021-08-16T21:05:00+00:00"
+ },
+ {
+ "name": "opis/closure",
+ "version": "3.6.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/opis/closure.git",
+ "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/opis/closure/zipball/06e2ebd25f2869e54a306dda991f7db58066f7f6",
+ "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^5.4 || ^7.0 || ^8.0"
+ },
+ "require-dev": {
+ "jeremeamia/superclosure": "^2.0",
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.6.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Opis\\Closure\\": "src/"
+ },
+ "files": [
+ "functions.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Marius Sarca",
+ "email": "marius.sarca@gmail.com"
+ },
+ {
+ "name": "Sorin Sarca",
+ "email": "sarca_sorin@hotmail.com"
+ }
+ ],
+ "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.",
+ "homepage": "https://opis.io/closure",
+ "keywords": [
+ "anonymous functions",
+ "closure",
+ "function",
+ "serializable",
+ "serialization",
+ "serialize"
+ ],
+ "support": {
+ "issues": "https://github.com/opis/closure/issues",
+ "source": "https://github.com/opis/closure/tree/3.6.2"
+ },
+ "time": "2021-04-09T13:42:10+00:00"
+ },
+ {
+ "name": "phpoption/phpoption",
+ "version": "1.8.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/php-option.git",
+ "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5455cb38aed4523f99977c4a12ef19da4bfe2a28",
+ "reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.0 || ^8.0"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "phpunit/phpunit": "^6.5.14 || ^7.0.20 || ^8.5.19 || ^9.5.8"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpOption\\": "src/PhpOption/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com"
+ },
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk"
+ }
+ ],
+ "description": "Option Type for PHP",
+ "keywords": [
+ "language",
+ "option",
+ "php",
+ "type"
+ ],
+ "support": {
+ "issues": "https://github.com/schmittjoh/php-option/issues",
+ "source": "https://github.com/schmittjoh/php-option/tree/1.8.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-28T21:27:29+00:00"
+ },
+ {
+ "name": "psr/container",
+ "version": "1.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/container.git",
+ "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
+ "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Psr\\Container\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common Container Interface (PHP FIG PSR-11)",
+ "homepage": "https://github.com/php-fig/container",
+ "keywords": [
+ "PSR-11",
+ "container",
+ "container-interface",
+ "container-interop",
+ "psr"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.1"
+ },
+ "time": "2021-03-05T17:36:06+00:00"
+ },
+ {
+ "name": "psr/event-dispatcher",
+ "version": "1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/event-dispatcher.git",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\EventDispatcher\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Standard interfaces for event handling.",
+ "keywords": [
+ "events",
+ "psr",
+ "psr-14"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/event-dispatcher/issues",
+ "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"
+ },
+ "time": "2019-01-08T18:20:26+00:00"
+ },
+ {
+ "name": "psr/http-client",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-client.git",
+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.0 || ^8.0",
+ "psr/http-message": "^1.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP clients",
+ "homepage": "https://github.com/php-fig/http-client",
+ "keywords": [
+ "http",
+ "http-client",
+ "psr",
+ "psr-18"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-client/tree/master"
+ },
+ "time": "2020-06-29T06:28:15+00:00"
+ },
+ {
+ "name": "psr/http-factory",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-factory.git",
+ "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
+ "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.0.0",
+ "psr/http-message": "^1.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interfaces for PSR-7 HTTP message factories",
+ "keywords": [
+ "factory",
+ "http",
+ "message",
+ "psr",
+ "psr-17",
+ "psr-7",
+ "request",
+ "response"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-factory/tree/master"
+ },
+ "time": "2019-04-30T12:38:16+00:00"
+ },
+ {
+ "name": "psr/http-message",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-message.git",
+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Message\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP messages",
+ "homepage": "https://github.com/php-fig/http-message",
+ "keywords": [
+ "http",
+ "http-message",
+ "psr",
+ "psr-7",
+ "request",
+ "response"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-message/tree/master"
+ },
+ "time": "2016-08-06T14:39:51+00:00"
+ },
+ {
+ "name": "psr/log",
+ "version": "1.1.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/log.git",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Log\\": "Psr/Log/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "https://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for logging libraries",
+ "homepage": "https://github.com/php-fig/log",
+ "keywords": [
+ "log",
+ "psr",
+ "psr-3"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
+ },
+ "time": "2021-05-03T11:20:27+00:00"
+ },
+ {
+ "name": "psr/simple-cache",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/simple-cache.git",
+ "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
+ "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\SimpleCache\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interfaces for simple caching",
+ "keywords": [
+ "cache",
+ "caching",
+ "psr",
+ "psr-16",
+ "simple-cache"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/simple-cache/tree/master"
+ },
+ "time": "2017-10-23T01:57:42+00:00"
+ },
+ {
+ "name": "ralouphie/getallheaders",
+ "version": "3.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ralouphie/getallheaders.git",
+ "reference": "120b605dfeb996808c31b6477290a714d356e822"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
+ "reference": "120b605dfeb996808c31b6477290a714d356e822",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=5.6"
+ },
+ "require-dev": {
+ "php-coveralls/php-coveralls": "^2.1",
+ "phpunit/phpunit": "^5 || ^6.5"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/getallheaders.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ralph Khattar",
+ "email": "ralph.khattar@gmail.com"
+ }
+ ],
+ "description": "A polyfill for getallheaders.",
+ "support": {
+ "issues": "https://github.com/ralouphie/getallheaders/issues",
+ "source": "https://github.com/ralouphie/getallheaders/tree/develop"
+ },
+ "time": "2019-03-08T08:55:37+00:00"
+ },
+ {
+ "name": "ramsey/collection",
+ "version": "1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ramsey/collection.git",
+ "reference": "eaca1dc1054ddd10cbd83c1461907bee6fb528fa"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ramsey/collection/zipball/eaca1dc1054ddd10cbd83c1461907bee6fb528fa",
+ "reference": "eaca1dc1054ddd10cbd83c1461907bee6fb528fa",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.3 || ^8",
+ "symfony/polyfill-php81": "^1.23"
+ },
+ "require-dev": {
+ "captainhook/captainhook": "^5.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
+ "ergebnis/composer-normalize": "^2.6",
+ "fakerphp/faker": "^1.5",
+ "hamcrest/hamcrest-php": "^2",
+ "jangregor/phpstan-prophecy": "^0.8",
+ "mockery/mockery": "^1.3",
+ "phpspec/prophecy-phpunit": "^2.0",
+ "phpstan/extension-installer": "^1",
+ "phpstan/phpstan": "^0.12.32",
+ "phpstan/phpstan-mockery": "^0.12.5",
+ "phpstan/phpstan-phpunit": "^0.12.11",
+ "phpunit/phpunit": "^8.5 || ^9",
+ "psy/psysh": "^0.10.4",
+ "slevomat/coding-standard": "^6.3",
+ "squizlabs/php_codesniffer": "^3.5",
+ "vimeo/psalm": "^4.4"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Ramsey\\Collection\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ben Ramsey",
+ "email": "ben@benramsey.com",
+ "homepage": "https://benramsey.com"
+ }
+ ],
+ "description": "A PHP library for representing and manipulating collections.",
+ "keywords": [
+ "array",
+ "collection",
+ "hash",
+ "map",
+ "queue",
+ "set"
+ ],
+ "support": {
+ "issues": "https://github.com/ramsey/collection/issues",
+ "source": "https://github.com/ramsey/collection/tree/1.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/ramsey",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/ramsey/collection",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-06T03:41:06+00:00"
+ },
+ {
+ "name": "ramsey/uuid",
+ "version": "4.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ramsey/uuid.git",
+ "reference": "fe665a03df4f056aa65af552a96e1976df8c8dae"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/fe665a03df4f056aa65af552a96e1976df8c8dae",
+ "reference": "fe665a03df4f056aa65af552a96e1976df8c8dae",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "brick/math": "^0.8 || ^0.9",
+ "ext-json": "*",
+ "php": "^7.2 || ^8",
+ "ramsey/collection": "^1.0",
+ "symfony/polyfill-ctype": "^1.8"
+ },
+ "replace": {
+ "rhumsaa/uuid": "self.version"
+ },
+ "require-dev": {
+ "captainhook/captainhook": "^5.10",
+ "captainhook/plugin-composer": "^5.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
+ "doctrine/annotations": "^1.8",
+ "ergebnis/composer-normalize": "^2.15",
+ "mockery/mockery": "^1.3",
+ "moontoast/math": "^1.1",
+ "paragonie/random-lib": "^2",
+ "php-mock/php-mock": "^2.2",
+ "php-mock/php-mock-mockery": "^1.3",
+ "php-parallel-lint/php-parallel-lint": "^1.1",
+ "phpbench/phpbench": "^1.0",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan-mockery": "^0.12",
+ "phpstan/phpstan-phpunit": "^0.12",
+ "phpunit/phpunit": "^8.5 || ^9",
+ "slevomat/coding-standard": "^7.0",
+ "squizlabs/php_codesniffer": "^3.5",
+ "vimeo/psalm": "^4.9"
+ },
+ "suggest": {
+ "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
+ "ext-ctype": "Enables faster processing of character classification using ctype functions.",
+ "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",
+ "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",
+ "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter",
+ "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "4.x-dev"
+ },
+ "captainhook": {
+ "force-install": true
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Ramsey\\Uuid\\": "src/"
+ },
+ "files": [
+ "src/functions.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).",
+ "keywords": [
+ "guid",
+ "identifier",
+ "uuid"
+ ],
+ "support": {
+ "issues": "https://github.com/ramsey/uuid/issues",
+ "source": "https://github.com/ramsey/uuid/tree/4.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/ramsey",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-11T01:06:55+00:00"
+ },
+ {
+ "name": "swiftmailer/swiftmailer",
+ "version": "v6.2.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/swiftmailer/swiftmailer.git",
+ "reference": "15f7faf8508e04471f666633addacf54c0ab5933"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/15f7faf8508e04471f666633addacf54c0ab5933",
+ "reference": "15f7faf8508e04471f666633addacf54c0ab5933",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "egulias/email-validator": "^2.0|^3.1",
+ "php": ">=7.0.0",
+ "symfony/polyfill-iconv": "^1.0",
+ "symfony/polyfill-intl-idn": "^1.10",
+ "symfony/polyfill-mbstring": "^1.0"
+ },
+ "require-dev": {
+ "mockery/mockery": "^1.0",
+ "symfony/phpunit-bridge": "^4.4|^5.0"
+ },
+ "suggest": {
+ "ext-intl": "Needed to support internationalized email addresses"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "6.2-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "lib/swift_required.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Chris Corbyn"
+ },
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ }
+ ],
+ "description": "Swiftmailer, free feature-rich PHP mailer",
+ "homepage": "https://swiftmailer.symfony.com",
+ "keywords": [
+ "email",
+ "mail",
+ "mailer"
+ ],
+ "support": {
+ "issues": "https://github.com/swiftmailer/swiftmailer/issues",
+ "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.7"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-03-09T12:30:35+00:00"
+ },
+ {
+ "name": "symfony/console",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/console.git",
+ "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/console/zipball/8b1008344647462ae6ec57559da166c2bfa5e16a",
+ "reference": "8b1008344647462ae6ec57559da166c2bfa5e16a",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php73": "^1.8",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/service-contracts": "^1.1|^2",
+ "symfony/string": "^5.1"
+ },
+ "conflict": {
+ "psr/log": ">=3",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/dotenv": "<5.1",
+ "symfony/event-dispatcher": "<4.4",
+ "symfony/lock": "<4.4",
+ "symfony/process": "<4.4"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0|2.0"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2",
+ "symfony/config": "^4.4|^5.0",
+ "symfony/dependency-injection": "^4.4|^5.0",
+ "symfony/event-dispatcher": "^4.4|^5.0",
+ "symfony/lock": "^4.4|^5.0",
+ "symfony/process": "^4.4|^5.0",
+ "symfony/var-dumper": "^4.4|^5.0"
+ },
+ "suggest": {
+ "psr/log": "For using the console logger",
+ "symfony/event-dispatcher": "",
+ "symfony/lock": "",
+ "symfony/process": ""
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Console\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Eases the creation of beautiful and testable command line interfaces",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "cli",
+ "command line",
+ "console",
+ "terminal"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/console/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-25T20:02:16+00:00"
+ },
+ {
+ "name": "symfony/css-selector",
+ "version": "v5.3.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/css-selector.git",
+ "reference": "7fb120adc7f600a59027775b224c13a33530dd90"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/7fb120adc7f600a59027775b224c13a33530dd90",
+ "reference": "7fb120adc7f600a59027775b224c13a33530dd90",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\CssSelector\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Jean-François Simon",
+ "email": "jeanfrancois.simon@sensiolabs.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Converts CSS selectors to XPath expressions",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/css-selector/tree/v5.3.4"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-07-21T12:38:00+00:00"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "v2.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627",
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-03-23T23:28:01+00:00"
+ },
+ {
+ "name": "symfony/error-handler",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/error-handler.git",
+ "reference": "3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321",
+ "reference": "3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/log": "^1|^2|^3",
+ "symfony/var-dumper": "^4.4|^5.0"
+ },
+ "require-dev": {
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/http-kernel": "^4.4|^5.0",
+ "symfony/serializer": "^4.4|^5.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\ErrorHandler\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides tools to manage errors and ease debugging PHP code",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/error-handler/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-28T15:07:08+00:00"
+ },
+ {
+ "name": "symfony/event-dispatcher",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/event-dispatcher.git",
+ "reference": "ce7b20d69c66a20939d8952b617506a44d102130"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ce7b20d69c66a20939d8952b617506a44d102130",
+ "reference": "ce7b20d69c66a20939d8952b617506a44d102130",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/event-dispatcher-contracts": "^2",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "symfony/dependency-injection": "<4.4"
+ },
+ "provide": {
+ "psr/event-dispatcher-implementation": "1.0",
+ "symfony/event-dispatcher-implementation": "2.0"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0",
+ "symfony/dependency-injection": "^4.4|^5.0",
+ "symfony/error-handler": "^4.4|^5.0",
+ "symfony/expression-language": "^4.4|^5.0",
+ "symfony/http-foundation": "^4.4|^5.0",
+ "symfony/service-contracts": "^1.1|^2",
+ "symfony/stopwatch": "^4.4|^5.0"
+ },
+ "suggest": {
+ "symfony/dependency-injection": "",
+ "symfony/http-kernel": ""
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\EventDispatcher\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-04T21:20:46+00:00"
+ },
+ {
+ "name": "symfony/event-dispatcher-contracts",
+ "version": "v2.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/event-dispatcher-contracts.git",
+ "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/69fee1ad2332a7cbab3aca13591953da9cdb7a11",
+ "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/event-dispatcher": "^1"
+ },
+ "suggest": {
+ "symfony/event-dispatcher-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\EventDispatcher\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to dispatching event",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-03-23T23:28:01+00:00"
+ },
+ {
+ "name": "symfony/finder",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/finder.git",
+ "reference": "a10000ada1e600d109a6c7632e9ac42e8bf2fb93"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/a10000ada1e600d109a6c7632e9ac42e8bf2fb93",
+ "reference": "a10000ada1e600d109a6c7632e9ac42e8bf2fb93",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Finder\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Finds files and directories via an intuitive fluent interface",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-04T21:20:46+00:00"
+ },
+ {
+ "name": "symfony/http-client-contracts",
+ "version": "v2.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/http-client-contracts.git",
+ "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/7e82f6084d7cae521a75ef2cb5c9457bbda785f4",
+ "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5"
+ },
+ "suggest": {
+ "symfony/http-client-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\HttpClient\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to HTTP clients",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/http-client-contracts/tree/v2.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-04-11T23:07:08+00:00"
+ },
+ {
+ "name": "symfony/http-foundation",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/http-foundation.git",
+ "reference": "e36c8e5502b4f3f0190c675f1c1f1248a64f04e5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e36c8e5502b4f3f0190c675f1c1f1248a64f04e5",
+ "reference": "e36c8e5502b4f3f0190c675f1c1f1248a64f04e5",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/polyfill-mbstring": "~1.1",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "require-dev": {
+ "predis/predis": "~1.0",
+ "symfony/cache": "^4.4|^5.0",
+ "symfony/expression-language": "^4.4|^5.0",
+ "symfony/mime": "^4.4|^5.0"
+ },
+ "suggest": {
+ "symfony/mime": "To use the file extension guesser"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\HttpFoundation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Defines an object-oriented layer for the HTTP specification",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/http-foundation/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-27T11:20:35+00:00"
+ },
+ {
+ "name": "symfony/http-kernel",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/http-kernel.git",
+ "reference": "a3a78e37935a527b50376c22ac1cec35b57fe787"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a3a78e37935a527b50376c22ac1cec35b57fe787",
+ "reference": "a3a78e37935a527b50376c22ac1cec35b57fe787",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/log": "^1|^2",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/error-handler": "^4.4|^5.0",
+ "symfony/event-dispatcher": "^5.0",
+ "symfony/http-client-contracts": "^1.1|^2",
+ "symfony/http-foundation": "^5.3.7",
+ "symfony/polyfill-ctype": "^1.8",
+ "symfony/polyfill-php73": "^1.9",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "symfony/browser-kit": "<4.4",
+ "symfony/cache": "<5.0",
+ "symfony/config": "<5.0",
+ "symfony/console": "<4.4",
+ "symfony/dependency-injection": "<5.3",
+ "symfony/doctrine-bridge": "<5.0",
+ "symfony/form": "<5.0",
+ "symfony/http-client": "<5.0",
+ "symfony/mailer": "<5.0",
+ "symfony/messenger": "<5.0",
+ "symfony/translation": "<5.0",
+ "symfony/twig-bridge": "<5.0",
+ "symfony/validator": "<5.0",
+ "twig/twig": "<2.13"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0|2.0"
+ },
+ "require-dev": {
+ "psr/cache": "^1.0|^2.0|^3.0",
+ "symfony/browser-kit": "^4.4|^5.0",
+ "symfony/config": "^5.0",
+ "symfony/console": "^4.4|^5.0",
+ "symfony/css-selector": "^4.4|^5.0",
+ "symfony/dependency-injection": "^5.3",
+ "symfony/dom-crawler": "^4.4|^5.0",
+ "symfony/expression-language": "^4.4|^5.0",
+ "symfony/finder": "^4.4|^5.0",
+ "symfony/process": "^4.4|^5.0",
+ "symfony/routing": "^4.4|^5.0",
+ "symfony/stopwatch": "^4.4|^5.0",
+ "symfony/translation": "^4.4|^5.0",
+ "symfony/translation-contracts": "^1.1|^2",
+ "twig/twig": "^2.13|^3.0.4"
+ },
+ "suggest": {
+ "symfony/browser-kit": "",
+ "symfony/config": "",
+ "symfony/console": "",
+ "symfony/dependency-injection": ""
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\HttpKernel\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides a structured process for converting a Request into a Response",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/http-kernel/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-30T12:37:19+00:00"
+ },
+ {
+ "name": "symfony/mime",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/mime.git",
+ "reference": "ae887cb3b044658676129f5e97aeb7e9eb69c2d8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/ae887cb3b044658676129f5e97aeb7e9eb69c2d8",
+ "reference": "ae887cb3b044658676129f5e97aeb7e9eb69c2d8",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/polyfill-intl-idn": "^1.10",
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "egulias/email-validator": "~3.0.0",
+ "phpdocumentor/reflection-docblock": "<3.2.2",
+ "phpdocumentor/type-resolver": "<1.4.0",
+ "symfony/mailer": "<4.4"
+ },
+ "require-dev": {
+ "egulias/email-validator": "^2.1.10|^3.1",
+ "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
+ "symfony/dependency-injection": "^4.4|^5.0",
+ "symfony/property-access": "^4.4|^5.1",
+ "symfony/property-info": "^4.4|^5.1",
+ "symfony/serializer": "^5.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Mime\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Allows manipulating MIME messages",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "mime",
+ "mime-type"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/mime/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-20T11:40:01+00:00"
+ },
+ {
+ "name": "symfony/polyfill-ctype",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-ctype.git",
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-ctype": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Ctype\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Gert de Pagter",
+ "email": "BackEndTea@gmail.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for ctype functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "ctype",
+ "polyfill",
+ "portable"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-02-19T12:13:01+00:00"
+ },
+ {
+ "name": "symfony/polyfill-iconv",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-iconv.git",
+ "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/63b5bb7db83e5673936d6e3b8b3e022ff6474933",
+ "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-iconv": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Iconv\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Iconv extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "iconv",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-27T09:27:20+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-grapheme",
+ "version": "v1.23.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
+ "reference": "16880ba9c5ebe3642d1995ab866db29270b36535"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/16880ba9c5ebe3642d1995ab866db29270b36535",
+ "reference": "16880ba9c5ebe3642d1995ab866db29270b36535",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's grapheme_* functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "grapheme",
+ "intl",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.1"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-27T12:26:48+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-idn",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-idn.git",
+ "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/65bd267525e82759e7d8c4e8ceea44f398838e65",
+ "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1",
+ "symfony/polyfill-intl-normalizer": "^1.10",
+ "symfony/polyfill-php72": "^1.10"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Idn\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Laurent Bassin",
+ "email": "laurent@bassin.info"
+ },
+ {
+ "name": "Trevor Rowbotham",
+ "email": "trevor.rowbotham@pm.me"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "idn",
+ "intl",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-27T09:27:20+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-normalizer",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ],
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for intl's Normalizer class and related functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "intl",
+ "normalizer",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-02-19T12:13:01+00:00"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "v1.23.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6",
+ "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-mbstring": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-27T12:26:48+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php72",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php72.git",
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976",
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Php72\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-27T09:17:38+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php73",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php73.git",
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Php73\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ],
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-02-19T12:13:01+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php80",
+ "version": "v1.23.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be",
+ "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ],
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-07-28T13:41:28+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php81",
+ "version": "v1.23.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php81.git",
+ "reference": "e66119f3de95efc359483f810c4c3e6436279436"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/e66119f3de95efc359483f810c4c3e6436279436",
+ "reference": "e66119f3de95efc359483f810c4c3e6436279436",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Polyfill\\Php81\\": ""
+ },
+ "files": [
+ "bootstrap.php"
+ ],
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php81/tree/v1.23.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-21T13:25:03+00:00"
+ },
+ {
+ "name": "symfony/process",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/process.git",
+ "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/process/zipball/38f26c7d6ed535217ea393e05634cb0b244a1967",
+ "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Process\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Executes commands in sub-processes",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/process/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-04T21:20:46+00:00"
+ },
+ {
+ "name": "symfony/routing",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/routing.git",
+ "reference": "be865017746fe869007d94220ad3f5297951811b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/be865017746fe869007d94220ad3f5297951811b",
+ "reference": "be865017746fe869007d94220ad3f5297951811b",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "doctrine/annotations": "<1.12",
+ "symfony/config": "<5.3",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/yaml": "<4.4"
+ },
+ "require-dev": {
+ "doctrine/annotations": "^1.12",
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^5.3",
+ "symfony/dependency-injection": "^4.4|^5.0",
+ "symfony/expression-language": "^4.4|^5.0",
+ "symfony/http-foundation": "^4.4|^5.0",
+ "symfony/yaml": "^4.4|^5.0"
+ },
+ "suggest": {
+ "symfony/config": "For using the all-in-one router or any loader",
+ "symfony/expression-language": "For using expression matching",
+ "symfony/http-foundation": "For using a Symfony Request object",
+ "symfony/yaml": "For using the YAML loader"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Routing\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Maps an HTTP request to a set of configuration variables",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "router",
+ "routing",
+ "uri",
+ "url"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/routing/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-04T21:42:42+00:00"
+ },
+ {
+ "name": "symfony/service-contracts",
+ "version": "v2.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/service-contracts.git",
+ "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
+ "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/container": "^1.1"
+ },
+ "suggest": {
+ "symfony/service-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\Service\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to writing services",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-04-01T10:43:52+00:00"
+ },
+ {
+ "name": "symfony/string",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/string.git",
+ "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/string/zipball/8d224396e28d30f81969f083a58763b8b9ceb0a5",
+ "reference": "8d224396e28d30f81969f083a58763b8b9ceb0a5",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-ctype": "~1.8",
+ "symfony/polyfill-intl-grapheme": "~1.0",
+ "symfony/polyfill-intl-normalizer": "~1.0",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "~1.15"
+ },
+ "require-dev": {
+ "symfony/error-handler": "^4.4|^5.0",
+ "symfony/http-client": "^4.4|^5.0",
+ "symfony/translation-contracts": "^1.1|^2",
+ "symfony/var-exporter": "^4.4|^5.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\String\\": ""
+ },
+ "files": [
+ "Resources/functions.php"
+ ],
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "grapheme",
+ "i18n",
+ "string",
+ "unicode",
+ "utf-8",
+ "utf8"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/string/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-26T08:00:08+00:00"
+ },
+ {
+ "name": "symfony/translation",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation.git",
+ "reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
+ "reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation-contracts": "^2.3"
+ },
+ "conflict": {
+ "symfony/config": "<4.4",
+ "symfony/dependency-injection": "<5.0",
+ "symfony/http-kernel": "<5.0",
+ "symfony/twig-bundle": "<5.0",
+ "symfony/yaml": "<4.4"
+ },
+ "provide": {
+ "symfony/translation-implementation": "2.3"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0",
+ "symfony/console": "^4.4|^5.0",
+ "symfony/dependency-injection": "^5.0",
+ "symfony/finder": "^4.4|^5.0",
+ "symfony/http-kernel": "^5.0",
+ "symfony/intl": "^4.4|^5.0",
+ "symfony/polyfill-intl-icu": "^1.21",
+ "symfony/service-contracts": "^1.1.2|^2",
+ "symfony/yaml": "^4.4|^5.0"
+ },
+ "suggest": {
+ "psr/log-implementation": "To use logging capability in translator",
+ "symfony/config": "",
+ "symfony/yaml": ""
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "Resources/functions.php"
+ ],
+ "psr-4": {
+ "Symfony\\Component\\Translation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides tools to internationalize your application",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/translation/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-26T08:22:53+00:00"
+ },
+ {
+ "name": "symfony/translation-contracts",
+ "version": "v2.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation-contracts.git",
+ "reference": "95c812666f3e91db75385749fe219c5e494c7f95"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95",
+ "reference": "95c812666f3e91db75385749fe219c5e494c7f95",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5"
+ },
+ "suggest": {
+ "symfony/translation-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\Translation\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Generic abstractions related to translation",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/translation-contracts/tree/v2.4.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-03-23T23:28:01+00:00"
+ },
+ {
+ "name": "symfony/var-dumper",
+ "version": "v5.3.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/var-dumper.git",
+ "reference": "3ad5af4aed07d0a0201bbcfc42658fe6c5b2fb8f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3ad5af4aed07d0a0201bbcfc42658fe6c5b2fb8f",
+ "reference": "3ad5af4aed07d0a0201bbcfc42658fe6c5b2fb8f",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "phpunit/phpunit": "<5.4.3",
+ "symfony/console": "<4.4"
+ },
+ "require-dev": {
+ "ext-iconv": "*",
+ "symfony/console": "^4.4|^5.0",
+ "symfony/process": "^4.4|^5.0",
+ "twig/twig": "^2.13|^3.0.4"
+ },
+ "suggest": {
+ "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
+ "ext-intl": "To show region name in time zone dump",
+ "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
+ },
+ "bin": [
+ "Resources/bin/var-dump-server"
+ ],
+ "type": "library",
+ "autoload": {
+ "files": [
+ "Resources/functions/dump.php"
+ ],
+ "psr-4": {
+ "Symfony\\Component\\VarDumper\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Provides mechanisms for walking through any arbitrary PHP variable",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "debug",
+ "dump"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/var-dumper/tree/v5.3.7"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-04T23:19:25+00:00"
+ },
+ {
+ "name": "tijsverkoyen/css-to-inline-styles",
+ "version": "2.2.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
+ "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/b43b05cf43c1b6d849478965062b6ef73e223bb5",
+ "reference": "b43b05cf43c1b6d849478965062b6ef73e223bb5",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-libxml": "*",
+ "php": "^5.5 || ^7.0 || ^8.0",
+ "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.2.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "TijsVerkoyen\\CssToInlineStyles\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Tijs Verkoyen",
+ "email": "css_to_inline_styles@verkoyen.eu",
+ "role": "Developer"
+ }
+ ],
+ "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
+ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
+ "support": {
+ "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",
+ "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3"
+ },
+ "time": "2020-07-13T06:12:54+00:00"
+ },
+ {
+ "name": "vlucas/phpdotenv",
+ "version": "v5.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/vlucas/phpdotenv.git",
+ "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/b3eac5c7ac896e52deab4a99068e3f4ab12d9e56",
+ "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "ext-pcre": "*",
+ "graham-campbell/result-type": "^1.0.1",
+ "php": "^7.1.3 || ^8.0",
+ "phpoption/phpoption": "^1.7.4",
+ "symfony/polyfill-ctype": "^1.17",
+ "symfony/polyfill-mbstring": "^1.17",
+ "symfony/polyfill-php80": "^1.17"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "ext-filter": "*",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5.1"
+ },
+ "suggest": {
+ "ext-filter": "Required to use the boolean validator."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "5.3-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Dotenv\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "graham@alt-three.com",
+ "homepage": "https://gjcampbell.co.uk/"
+ },
+ {
+ "name": "Vance Lucas",
+ "email": "vance@vancelucas.com",
+ "homepage": "https://vancelucas.com/"
+ }
+ ],
+ "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
+ "keywords": [
+ "dotenv",
+ "env",
+ "environment"
+ ],
+ "support": {
+ "issues": "https://github.com/vlucas/phpdotenv/issues",
+ "source": "https://github.com/vlucas/phpdotenv/tree/v5.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-01-20T15:23:13+00:00"
+ },
+ {
+ "name": "voku/portable-ascii",
+ "version": "1.5.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/voku/portable-ascii.git",
+ "reference": "80953678b19901e5165c56752d087fc11526017c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/voku/portable-ascii/zipball/80953678b19901e5165c56752d087fc11526017c",
+ "reference": "80953678b19901e5165c56752d087fc11526017c",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": ">=7.0.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "suggest": {
+ "ext-intl": "Use Intl for transliterator_transliterate() support"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "voku\\": "src/voku/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Lars Moelleken",
+ "homepage": "http://www.moelleken.org/"
+ }
+ ],
+ "description": "Portable ASCII library - performance optimized (ascii) string functions for php.",
+ "homepage": "https://github.com/voku/portable-ascii",
+ "keywords": [
+ "ascii",
+ "clean",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/voku/portable-ascii/issues",
+ "source": "https://github.com/voku/portable-ascii/tree/1.5.6"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/portable-ascii",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-11-12T00:07:28+00:00"
+ },
+ {
+ "name": "webmozart/assert",
+ "version": "1.10.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/webmozarts/assert.git",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "shasum": "",
+ "mirrors": [
+ {
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
+ "preferred": true
+ }
+ ]
+ },
+ "require": {
+ "php": "^7.2 || ^8.0",
+ "symfony/polyfill-ctype": "^1.8"
+ },
+ "conflict": {
+ "phpstan/phpstan": "<0.12.20",
+ "vimeo/psalm": "<4.6.1 || 4.6.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^8.5.13"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.10-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Webmozart\\Assert\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
+ }
+ ],
+ "description": "Assertions to validate method input/output with nice error messages.",
+ "keywords": [
+ "assert",
+ "check",
+ "validate"
+ ],
+ "support": {
+ "issues": "https://github.com/webmozarts/assert/issues",
+ "source": "https://github.com/webmozarts/assert/tree/1.10.0"
+ },
+ "time": "2021-03-09T10:59:23+00:00"
+ }
+ ],
+ "packages-dev": [],
+ "aliases": [],
+ "minimum-stability": "stable",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": {
+ "php": "^7.4"
+ },
+ "platform-dev": [],
+ "plugin-api-version": "2.1.0"
+}
diff --git a/config/config.php b/config/config.php
new file mode 100644
index 0000000..8508192
--- /dev/null
+++ b/config/config.php
@@ -0,0 +1,19 @@
+ 'https://openapi.yeepay.com/yop-center',
+ 'yosServerRoot' => 'https://openapi.yeepay.com/yop-center',
+ 'appKey' => '',
+ 'secretKey' => '',
+ 'encryptKey' => '',
+ 'merchantNo' => '',
+ 'storeType' => 'string',
+ 'certType' => 'RSA2048',
+ 'yopPublicKey' => '',
+ 'isvPrivateKey' => '',
+ 'httpClient' => [
+ 'connect_timeout' => 10000,
+ 'read_timeout' => 30000,
+ 'max_conn_total' => 2000,
+ 'max_conn_per_route' => 1000,
+ ],
+];
diff --git a/database/yee_pay_areas.sql b/database/yee_pay_areas.sql
new file mode 100644
index 0000000..14012d6
--- /dev/null
+++ b/database/yee_pay_areas.sql
@@ -0,0 +1,3485 @@
+/*
+ Navicat Premium Data Transfer
+
+ Source Server : 测试
+ Source Server Type : MySQL
+ Source Server Version : 80024
+ Source Host : localhost:3306
+ Source Schema : glasses
+
+ Target Server Type : MySQL
+ Target Server Version : 80024
+ File Encoding : 65001
+
+ Date: 13/09/2021 09:42:05
+*/
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+-- ----------------------------
+-- Table structure for yee_pay_areas
+-- ----------------------------
+DROP TABLE IF EXISTS `yee_pay_areas`;
+CREATE TABLE `yee_pay_areas` (
+ `id` bigint(0) UNSIGNED NOT NULL AUTO_INCREMENT,
+ `sn` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '编码',
+ `psn` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '编码',
+ `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名称',
+ `layer` int(0) UNSIGNED NOT NULL DEFAULT 1 COMMENT '层级',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of yee_pay_areas
+-- ----------------------------
+INSERT INTO `yee_pay_areas` VALUES (1, '110000', '0', '北京', 1);
+INSERT INTO `yee_pay_areas` VALUES (2, '120000', '0', '天津', 1);
+INSERT INTO `yee_pay_areas` VALUES (3, '130000', '0', '河北', 1);
+INSERT INTO `yee_pay_areas` VALUES (4, '140000', '0', '山西', 1);
+INSERT INTO `yee_pay_areas` VALUES (5, '150000', '0', '内蒙古', 1);
+INSERT INTO `yee_pay_areas` VALUES (6, '210000', '0', '辽宁', 1);
+INSERT INTO `yee_pay_areas` VALUES (7, '220000', '0', '吉林', 1);
+INSERT INTO `yee_pay_areas` VALUES (8, '230000', '0', '黑龙江', 1);
+INSERT INTO `yee_pay_areas` VALUES (9, '310000', '0', '上海', 1);
+INSERT INTO `yee_pay_areas` VALUES (10, '320000', '0', '江苏', 1);
+INSERT INTO `yee_pay_areas` VALUES (11, '330000', '0', '浙江', 1);
+INSERT INTO `yee_pay_areas` VALUES (12, '340000', '0', '安徽', 1);
+INSERT INTO `yee_pay_areas` VALUES (13, '350000', '0', '福建', 1);
+INSERT INTO `yee_pay_areas` VALUES (14, '360000', '0', '江西', 1);
+INSERT INTO `yee_pay_areas` VALUES (15, '370000', '0', '山东', 1);
+INSERT INTO `yee_pay_areas` VALUES (16, '410000', '0', '河南', 1);
+INSERT INTO `yee_pay_areas` VALUES (17, '420000', '0', '湖北', 1);
+INSERT INTO `yee_pay_areas` VALUES (18, '430000', '0', '湖南', 1);
+INSERT INTO `yee_pay_areas` VALUES (19, '440000', '0', '广东', 1);
+INSERT INTO `yee_pay_areas` VALUES (20, '450000', '0', '广西', 1);
+INSERT INTO `yee_pay_areas` VALUES (21, '460000', '0', '海南', 1);
+INSERT INTO `yee_pay_areas` VALUES (22, '500000', '0', '重庆', 1);
+INSERT INTO `yee_pay_areas` VALUES (23, '510000', '0', '四川', 1);
+INSERT INTO `yee_pay_areas` VALUES (24, '520000', '0', '贵州', 1);
+INSERT INTO `yee_pay_areas` VALUES (25, '530000', '0', '云南', 1);
+INSERT INTO `yee_pay_areas` VALUES (26, '540000', '0', '西藏', 1);
+INSERT INTO `yee_pay_areas` VALUES (27, '610000', '0', '陕西', 1);
+INSERT INTO `yee_pay_areas` VALUES (28, '620000', '0', '甘肃', 1);
+INSERT INTO `yee_pay_areas` VALUES (29, '630000', '0', '青海', 1);
+INSERT INTO `yee_pay_areas` VALUES (30, '640000', '0', '宁夏', 1);
+INSERT INTO `yee_pay_areas` VALUES (31, '650000', '0', '新疆', 1);
+INSERT INTO `yee_pay_areas` VALUES (32, '110100', '110000', '北京市', 2);
+INSERT INTO `yee_pay_areas` VALUES (33, '120100', '120000', '天津市', 2);
+INSERT INTO `yee_pay_areas` VALUES (34, '130100', '130000', '石家庄市', 2);
+INSERT INTO `yee_pay_areas` VALUES (35, '130200', '130000', '唐山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (36, '130300', '130000', '秦皇岛市', 2);
+INSERT INTO `yee_pay_areas` VALUES (37, '130400', '130000', '邯郸市', 2);
+INSERT INTO `yee_pay_areas` VALUES (38, '130500', '130000', '邢台市', 2);
+INSERT INTO `yee_pay_areas` VALUES (39, '130600', '130000', '保定市', 2);
+INSERT INTO `yee_pay_areas` VALUES (40, '130700', '130000', '张家口市', 2);
+INSERT INTO `yee_pay_areas` VALUES (41, '130800', '130000', '承德市', 2);
+INSERT INTO `yee_pay_areas` VALUES (42, '130900', '130000', '沧州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (43, '131000', '130000', '廊坊市', 2);
+INSERT INTO `yee_pay_areas` VALUES (44, '131100', '130000', '衡水市', 2);
+INSERT INTO `yee_pay_areas` VALUES (45, '140100', '140000', '太原市', 2);
+INSERT INTO `yee_pay_areas` VALUES (46, '140200', '140000', '大同市', 2);
+INSERT INTO `yee_pay_areas` VALUES (47, '140300', '140000', '阳泉市', 2);
+INSERT INTO `yee_pay_areas` VALUES (48, '140400', '140000', '长治市', 2);
+INSERT INTO `yee_pay_areas` VALUES (49, '140500', '140000', '晋城市', 2);
+INSERT INTO `yee_pay_areas` VALUES (50, '140600', '140000', '朔州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (51, '140700', '140000', '晋中市', 2);
+INSERT INTO `yee_pay_areas` VALUES (52, '140800', '140000', '运城市', 2);
+INSERT INTO `yee_pay_areas` VALUES (53, '140900', '140000', '忻州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (54, '141000', '140000', '临汾市', 2);
+INSERT INTO `yee_pay_areas` VALUES (55, '141100', '140000', '吕梁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (56, '150100', '150000', '呼和浩特市', 2);
+INSERT INTO `yee_pay_areas` VALUES (57, '150200', '150000', '包头市', 2);
+INSERT INTO `yee_pay_areas` VALUES (58, '150300', '150000', '乌海市', 2);
+INSERT INTO `yee_pay_areas` VALUES (59, '150400', '150000', '赤峰市', 2);
+INSERT INTO `yee_pay_areas` VALUES (60, '150500', '150000', '通辽市', 2);
+INSERT INTO `yee_pay_areas` VALUES (61, '150600', '150000', '鄂尔多斯市', 2);
+INSERT INTO `yee_pay_areas` VALUES (62, '150700', '150000', '呼伦贝尔市', 2);
+INSERT INTO `yee_pay_areas` VALUES (63, '150800', '150000', '巴彦淖尔市', 2);
+INSERT INTO `yee_pay_areas` VALUES (64, '150900', '150000', '乌兰察布市', 2);
+INSERT INTO `yee_pay_areas` VALUES (65, '152200', '150000', '兴安盟', 2);
+INSERT INTO `yee_pay_areas` VALUES (66, '152500', '150000', '锡林郭勒盟', 2);
+INSERT INTO `yee_pay_areas` VALUES (67, '152900', '150000', '阿拉善盟', 2);
+INSERT INTO `yee_pay_areas` VALUES (68, '210100', '210000', '沈阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (69, '210200', '210000', '大连市', 2);
+INSERT INTO `yee_pay_areas` VALUES (70, '210300', '210000', '鞍山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (71, '210400', '210000', '抚顺市', 2);
+INSERT INTO `yee_pay_areas` VALUES (72, '210500', '210000', '本溪市', 2);
+INSERT INTO `yee_pay_areas` VALUES (73, '210600', '210000', '丹东市', 2);
+INSERT INTO `yee_pay_areas` VALUES (74, '210700', '210000', '锦州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (75, '210800', '210000', '营口市', 2);
+INSERT INTO `yee_pay_areas` VALUES (76, '210900', '210000', '阜新市', 2);
+INSERT INTO `yee_pay_areas` VALUES (77, '211000', '210000', '辽阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (78, '211100', '210000', '盘锦市', 2);
+INSERT INTO `yee_pay_areas` VALUES (79, '211200', '210000', '铁岭市', 2);
+INSERT INTO `yee_pay_areas` VALUES (80, '211300', '210000', '朝阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (81, '211400', '210000', '葫芦岛市', 2);
+INSERT INTO `yee_pay_areas` VALUES (82, '220100', '220000', '长春市', 2);
+INSERT INTO `yee_pay_areas` VALUES (83, '220200', '220000', '吉林市', 2);
+INSERT INTO `yee_pay_areas` VALUES (84, '220300', '220000', '四平市', 2);
+INSERT INTO `yee_pay_areas` VALUES (85, '220400', '220000', '辽源市', 2);
+INSERT INTO `yee_pay_areas` VALUES (86, '220500', '220000', '通化市', 2);
+INSERT INTO `yee_pay_areas` VALUES (87, '220600', '220000', '白山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (88, '220700', '220000', '松原市', 2);
+INSERT INTO `yee_pay_areas` VALUES (89, '220800', '220000', '白城市', 2);
+INSERT INTO `yee_pay_areas` VALUES (90, '222400', '220000', '延边朝鲜族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (91, '230100', '230000', '哈尔滨市', 2);
+INSERT INTO `yee_pay_areas` VALUES (92, '230200', '230000', '齐齐哈尔市', 2);
+INSERT INTO `yee_pay_areas` VALUES (93, '230300', '230000', '鸡西市', 2);
+INSERT INTO `yee_pay_areas` VALUES (94, '230400', '230000', '鹤岗市', 2);
+INSERT INTO `yee_pay_areas` VALUES (95, '230500', '230000', '双鸭山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (96, '230600', '230000', '大庆市', 2);
+INSERT INTO `yee_pay_areas` VALUES (97, '230700', '230000', '伊春市', 2);
+INSERT INTO `yee_pay_areas` VALUES (98, '230800', '230000', '佳木斯市', 2);
+INSERT INTO `yee_pay_areas` VALUES (99, '230900', '230000', '七台河市', 2);
+INSERT INTO `yee_pay_areas` VALUES (100, '231000', '230000', '牡丹江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (101, '231100', '230000', '黑河市', 2);
+INSERT INTO `yee_pay_areas` VALUES (102, '231200', '230000', '绥化市', 2);
+INSERT INTO `yee_pay_areas` VALUES (103, '232700', '230000', '大兴安岭地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (104, '310100', '310000', '上海市', 2);
+INSERT INTO `yee_pay_areas` VALUES (105, '320100', '320000', '南京市', 2);
+INSERT INTO `yee_pay_areas` VALUES (106, '320200', '320000', '无锡市', 2);
+INSERT INTO `yee_pay_areas` VALUES (107, '329281', '320000', '江阴市', 2);
+INSERT INTO `yee_pay_areas` VALUES (108, '320300', '320000', '徐州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (109, '320400', '320000', '常州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (110, '320500', '320000', '苏州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (111, '320600', '320000', '南通市', 2);
+INSERT INTO `yee_pay_areas` VALUES (112, '320700', '320000', '连云港市', 2);
+INSERT INTO `yee_pay_areas` VALUES (113, '320800', '320000', '淮安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (114, '320900', '320000', '盐城市', 2);
+INSERT INTO `yee_pay_areas` VALUES (115, '321000', '320000', '扬州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (116, '321100', '320000', '镇江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (117, '321200', '320000', '泰州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (118, '321300', '320000', '宿迁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (119, '330100', '330000', '杭州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (120, '330200', '330000', '宁波市', 2);
+INSERT INTO `yee_pay_areas` VALUES (121, '330300', '330000', '温州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (122, '330400', '330000', '嘉兴市', 2);
+INSERT INTO `yee_pay_areas` VALUES (123, '330500', '330000', '湖州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (124, '330600', '330000', '绍兴市', 2);
+INSERT INTO `yee_pay_areas` VALUES (125, '330700', '330000', '金华市', 2);
+INSERT INTO `yee_pay_areas` VALUES (126, '330800', '330000', '衢州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (127, '330900', '330000', '舟山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (128, '331000', '330000', '台州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (129, '331100', '330000', '丽水市', 2);
+INSERT INTO `yee_pay_areas` VALUES (130, '340100', '340000', '合肥市', 2);
+INSERT INTO `yee_pay_areas` VALUES (131, '340200', '340000', '芜湖市', 2);
+INSERT INTO `yee_pay_areas` VALUES (132, '340300', '340000', '蚌埠市', 2);
+INSERT INTO `yee_pay_areas` VALUES (133, '340400', '340000', '淮南市', 2);
+INSERT INTO `yee_pay_areas` VALUES (134, '340500', '340000', '马鞍山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (135, '340600', '340000', '淮北市', 2);
+INSERT INTO `yee_pay_areas` VALUES (136, '340700', '340000', '铜陵市', 2);
+INSERT INTO `yee_pay_areas` VALUES (137, '340800', '340000', '安庆市', 2);
+INSERT INTO `yee_pay_areas` VALUES (138, '341000', '340000', '黄山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (139, '341100', '340000', '滁州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (140, '341200', '340000', '阜阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (141, '341300', '340000', '宿州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (142, '341400', '340000', '巢湖市', 2);
+INSERT INTO `yee_pay_areas` VALUES (143, '341500', '340000', '六安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (144, '341600', '340000', '亳州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (145, '341700', '340000', '池州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (146, '341800', '340000', '宣城市', 2);
+INSERT INTO `yee_pay_areas` VALUES (147, '350100', '350000', '福州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (148, '350200', '350000', '厦门市', 2);
+INSERT INTO `yee_pay_areas` VALUES (149, '350300', '350000', '莆田市', 2);
+INSERT INTO `yee_pay_areas` VALUES (150, '350400', '350000', '三明市', 2);
+INSERT INTO `yee_pay_areas` VALUES (151, '350500', '350000', '泉州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (152, '350600', '350000', '漳州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (153, '350700', '350000', '南平市', 2);
+INSERT INTO `yee_pay_areas` VALUES (154, '350800', '350000', '龙岩市', 2);
+INSERT INTO `yee_pay_areas` VALUES (155, '350900', '350000', '宁德市', 2);
+INSERT INTO `yee_pay_areas` VALUES (156, '360100', '360000', '南昌市', 2);
+INSERT INTO `yee_pay_areas` VALUES (157, '360200', '360000', '景德镇市', 2);
+INSERT INTO `yee_pay_areas` VALUES (158, '360300', '360000', '萍乡市', 2);
+INSERT INTO `yee_pay_areas` VALUES (159, '360400', '360000', '九江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (160, '360500', '360000', '新余市', 2);
+INSERT INTO `yee_pay_areas` VALUES (161, '360600', '360000', '鹰潭市', 2);
+INSERT INTO `yee_pay_areas` VALUES (162, '360700', '360000', '赣州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (163, '360800', '360000', '吉安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (164, '360900', '360000', '宜春市', 2);
+INSERT INTO `yee_pay_areas` VALUES (165, '361000', '360000', '抚州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (166, '361100', '360000', '上饶市', 2);
+INSERT INTO `yee_pay_areas` VALUES (167, '370100', '370000', '济南市', 2);
+INSERT INTO `yee_pay_areas` VALUES (168, '370200', '370000', '青岛市', 2);
+INSERT INTO `yee_pay_areas` VALUES (169, '370300', '370000', '淄博市', 2);
+INSERT INTO `yee_pay_areas` VALUES (170, '370400', '370000', '枣庄市', 2);
+INSERT INTO `yee_pay_areas` VALUES (171, '370500', '370000', '东营市', 2);
+INSERT INTO `yee_pay_areas` VALUES (172, '370600', '370000', '烟台市', 2);
+INSERT INTO `yee_pay_areas` VALUES (173, '370700', '370000', '潍坊市', 2);
+INSERT INTO `yee_pay_areas` VALUES (174, '370800', '370000', '济宁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (175, '370900', '370000', '泰安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (176, '371000', '370000', '威海市', 2);
+INSERT INTO `yee_pay_areas` VALUES (177, '371100', '370000', '日照市', 2);
+INSERT INTO `yee_pay_areas` VALUES (178, '371200', '370000', '莱芜市', 2);
+INSERT INTO `yee_pay_areas` VALUES (179, '371300', '370000', '临沂市', 2);
+INSERT INTO `yee_pay_areas` VALUES (180, '371400', '370000', '德州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (181, '371500', '370000', '聊城市', 2);
+INSERT INTO `yee_pay_areas` VALUES (182, '371600', '370000', '滨州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (183, '371700', '370000', '菏泽市', 2);
+INSERT INTO `yee_pay_areas` VALUES (184, '410100', '410000', '郑州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (185, '410200', '410000', '开封市', 2);
+INSERT INTO `yee_pay_areas` VALUES (186, '410300', '410000', '洛阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (187, '410400', '410000', '平顶山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (188, '410500', '410000', '安阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (189, '410600', '410000', '鹤壁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (190, '410700', '410000', '新乡市', 2);
+INSERT INTO `yee_pay_areas` VALUES (191, '410800', '410000', '焦作市', 2);
+INSERT INTO `yee_pay_areas` VALUES (192, '411900', '410000', '济源市', 2);
+INSERT INTO `yee_pay_areas` VALUES (193, '410900', '410000', '濮阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (194, '411000', '410000', '许昌市', 2);
+INSERT INTO `yee_pay_areas` VALUES (195, '411100', '410000', '漯河市', 2);
+INSERT INTO `yee_pay_areas` VALUES (196, '411200', '410000', '三门峡市', 2);
+INSERT INTO `yee_pay_areas` VALUES (197, '411300', '410000', '南阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (198, '411400', '410000', '商丘市', 2);
+INSERT INTO `yee_pay_areas` VALUES (199, '411500', '410000', '信阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (200, '411600', '410000', '周口市', 2);
+INSERT INTO `yee_pay_areas` VALUES (201, '411700', '410000', '驻马店市', 2);
+INSERT INTO `yee_pay_areas` VALUES (202, '420100', '420000', '武汉市', 2);
+INSERT INTO `yee_pay_areas` VALUES (203, '420200', '420000', '黄石市', 2);
+INSERT INTO `yee_pay_areas` VALUES (204, '420300', '420000', '十堰市', 2);
+INSERT INTO `yee_pay_areas` VALUES (205, '420500', '420000', '宜昌市', 2);
+INSERT INTO `yee_pay_areas` VALUES (206, '420600', '420000', '襄阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (207, '420700', '420000', '鄂州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (208, '420800', '420000', '荆门市', 2);
+INSERT INTO `yee_pay_areas` VALUES (209, '420900', '420000', '孝感市', 2);
+INSERT INTO `yee_pay_areas` VALUES (210, '421000', '420000', '荆州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (211, '421100', '420000', '黄冈市', 2);
+INSERT INTO `yee_pay_areas` VALUES (212, '421200', '420000', '咸宁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (213, '421300', '420000', '随州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (214, '422800', '420000', '恩施土家族苗族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (215, '429000', '420000', '省直辖县级行政单位', 2);
+INSERT INTO `yee_pay_areas` VALUES (216, '430100', '430000', '长沙市', 2);
+INSERT INTO `yee_pay_areas` VALUES (217, '430200', '430000', '株洲市', 2);
+INSERT INTO `yee_pay_areas` VALUES (218, '430300', '430000', '湘潭市', 2);
+INSERT INTO `yee_pay_areas` VALUES (219, '430400', '430000', '衡阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (220, '430500', '430000', '邵阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (221, '430600', '430000', '岳阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (222, '430700', '430000', '常德市', 2);
+INSERT INTO `yee_pay_areas` VALUES (223, '430800', '430000', '张家界市', 2);
+INSERT INTO `yee_pay_areas` VALUES (224, '430900', '430000', '益阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (225, '431000', '430000', '郴州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (226, '431100', '430000', '永州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (227, '431200', '430000', '怀化市', 2);
+INSERT INTO `yee_pay_areas` VALUES (228, '431300', '430000', '娄底市', 2);
+INSERT INTO `yee_pay_areas` VALUES (229, '433100', '430000', '湘西土家族苗族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (230, '440100', '440000', '广州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (231, '440200', '440000', '韶关市', 2);
+INSERT INTO `yee_pay_areas` VALUES (232, '440300', '440000', '深圳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (233, '440400', '440000', '珠海市', 2);
+INSERT INTO `yee_pay_areas` VALUES (234, '440500', '440000', '汕头市', 2);
+INSERT INTO `yee_pay_areas` VALUES (235, '440600', '440000', '佛山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (236, '440700', '440000', '江门市', 2);
+INSERT INTO `yee_pay_areas` VALUES (237, '440800', '440000', '湛江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (238, '440900', '440000', '茂名市', 2);
+INSERT INTO `yee_pay_areas` VALUES (239, '441200', '440000', '肇庆市', 2);
+INSERT INTO `yee_pay_areas` VALUES (240, '441300', '440000', '惠州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (241, '441400', '440000', '梅州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (242, '441500', '440000', '汕尾市', 2);
+INSERT INTO `yee_pay_areas` VALUES (243, '441600', '440000', '河源市', 2);
+INSERT INTO `yee_pay_areas` VALUES (244, '441700', '440000', '阳江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (245, '441800', '440000', '清远市', 2);
+INSERT INTO `yee_pay_areas` VALUES (246, '441900', '440000', '东莞市', 2);
+INSERT INTO `yee_pay_areas` VALUES (247, '445100', '440000', '潮州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (248, '445200', '440000', '揭阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (249, '445300', '440000', '云浮市', 2);
+INSERT INTO `yee_pay_areas` VALUES (250, '442000', '440000', '中山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (251, '450100', '450000', '南宁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (252, '450200', '450000', '柳州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (253, '450300', '450000', '桂林市', 2);
+INSERT INTO `yee_pay_areas` VALUES (254, '450400', '450000', '梧州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (255, '450500', '450000', '北海市', 2);
+INSERT INTO `yee_pay_areas` VALUES (256, '450600', '450000', '防城港市', 2);
+INSERT INTO `yee_pay_areas` VALUES (257, '450700', '450000', '钦州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (258, '450800', '450000', '贵港市', 2);
+INSERT INTO `yee_pay_areas` VALUES (259, '450900', '450000', '玉林市', 2);
+INSERT INTO `yee_pay_areas` VALUES (260, '451000', '450000', '百色市', 2);
+INSERT INTO `yee_pay_areas` VALUES (261, '451100', '450000', '贺州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (262, '451200', '450000', '河池市', 2);
+INSERT INTO `yee_pay_areas` VALUES (263, '451300', '450000', '来宾市', 2);
+INSERT INTO `yee_pay_areas` VALUES (264, '451400', '450000', '崇左市', 2);
+INSERT INTO `yee_pay_areas` VALUES (265, '460100', '460000', '海口市', 2);
+INSERT INTO `yee_pay_areas` VALUES (266, '460300', '460000', '三沙市', 2);
+INSERT INTO `yee_pay_areas` VALUES (267, '469000', '460000', '省直辖县级行政单位', 2);
+INSERT INTO `yee_pay_areas` VALUES (268, '460200', '460000', '三亚市', 2);
+INSERT INTO `yee_pay_areas` VALUES (269, '500100', '500000', '重庆市', 2);
+INSERT INTO `yee_pay_areas` VALUES (270, '510100', '510000', '成都市', 2);
+INSERT INTO `yee_pay_areas` VALUES (271, '510300', '510000', '自贡市', 2);
+INSERT INTO `yee_pay_areas` VALUES (272, '510400', '510000', '攀枝花市', 2);
+INSERT INTO `yee_pay_areas` VALUES (273, '510500', '510000', '泸州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (274, '510600', '510000', '德阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (275, '510700', '510000', '绵阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (276, '510800', '510000', '广元市', 2);
+INSERT INTO `yee_pay_areas` VALUES (277, '510900', '510000', '遂宁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (278, '511000', '510000', '内江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (279, '511100', '510000', '乐山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (280, '511300', '510000', '南充市', 2);
+INSERT INTO `yee_pay_areas` VALUES (281, '511400', '510000', '眉山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (282, '511500', '510000', '宜宾市', 2);
+INSERT INTO `yee_pay_areas` VALUES (283, '511600', '510000', '广安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (284, '511700', '510000', '达州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (285, '511800', '510000', '雅安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (286, '511900', '510000', '巴中市', 2);
+INSERT INTO `yee_pay_areas` VALUES (287, '512000', '510000', '资阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (288, '513200', '510000', '阿坝藏族羌族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (289, '513300', '510000', '甘孜藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (290, '513400', '510000', '凉山彝族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (291, '520100', '520000', '贵阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (292, '520200', '520000', '六盘水市', 2);
+INSERT INTO `yee_pay_areas` VALUES (293, '520300', '520000', '遵义市', 2);
+INSERT INTO `yee_pay_areas` VALUES (294, '520400', '520000', '安顺市', 2);
+INSERT INTO `yee_pay_areas` VALUES (295, '520600', '520000', '毕节市', 2);
+INSERT INTO `yee_pay_areas` VALUES (296, '520500', '520000', '铜仁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (297, '522200', '520000', '铜仁地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (298, '522300', '520000', '黔西南布依族苗族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (299, '522400', '520000', '毕节地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (300, '522600', '520000', '黔东南苗族侗族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (301, '522700', '520000', '黔南布依族苗族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (302, '530100', '530000', '昆明市', 2);
+INSERT INTO `yee_pay_areas` VALUES (303, '530300', '530000', '曲靖市', 2);
+INSERT INTO `yee_pay_areas` VALUES (304, '530400', '530000', '玉溪市', 2);
+INSERT INTO `yee_pay_areas` VALUES (305, '530500', '530000', '保山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (306, '530600', '530000', '昭通市', 2);
+INSERT INTO `yee_pay_areas` VALUES (307, '530700', '530000', '丽江市', 2);
+INSERT INTO `yee_pay_areas` VALUES (308, '530800', '530000', '普洱市', 2);
+INSERT INTO `yee_pay_areas` VALUES (309, '530900', '530000', '临沧市', 2);
+INSERT INTO `yee_pay_areas` VALUES (310, '532300', '530000', '楚雄彝族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (311, '532500', '530000', '红河哈尼族彝族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (312, '532600', '530000', '文山壮族苗族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (313, '532800', '530000', '西双版纳傣族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (314, '532900', '530000', '大理白族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (315, '533100', '530000', '德宏傣族景颇族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (316, '533300', '530000', '怒江傈僳族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (317, '533400', '530000', '迪庆藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (318, '540100', '540000', '拉萨市', 2);
+INSERT INTO `yee_pay_areas` VALUES (319, '542100', '540000', '昌都地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (320, '542200', '540000', '山南地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (321, '542300', '540000', '日喀则地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (322, '542400', '540000', '那曲地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (323, '542500', '540000', '阿里地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (324, '542600', '540000', '林芝地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (325, '610100', '610000', '西安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (326, '610200', '610000', '铜川市', 2);
+INSERT INTO `yee_pay_areas` VALUES (327, '610300', '610000', '宝鸡市', 2);
+INSERT INTO `yee_pay_areas` VALUES (328, '610400', '610000', '咸阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (329, '610500', '610000', '渭南市', 2);
+INSERT INTO `yee_pay_areas` VALUES (330, '610600', '610000', '延安市', 2);
+INSERT INTO `yee_pay_areas` VALUES (331, '610700', '610000', '汉中市', 2);
+INSERT INTO `yee_pay_areas` VALUES (332, '610800', '610000', '榆林市', 2);
+INSERT INTO `yee_pay_areas` VALUES (333, '610900', '610000', '安康市', 2);
+INSERT INTO `yee_pay_areas` VALUES (334, '611000', '610000', '商洛市', 2);
+INSERT INTO `yee_pay_areas` VALUES (335, '620100', '620000', '兰州市', 2);
+INSERT INTO `yee_pay_areas` VALUES (336, '620200', '620000', '嘉峪关市', 2);
+INSERT INTO `yee_pay_areas` VALUES (337, '620300', '620000', '金昌市', 2);
+INSERT INTO `yee_pay_areas` VALUES (338, '620400', '620000', '白银市', 2);
+INSERT INTO `yee_pay_areas` VALUES (339, '620500', '620000', '天水市', 2);
+INSERT INTO `yee_pay_areas` VALUES (340, '620600', '620000', '武威市', 2);
+INSERT INTO `yee_pay_areas` VALUES (341, '620700', '620000', '张掖市', 2);
+INSERT INTO `yee_pay_areas` VALUES (342, '620800', '620000', '平凉市', 2);
+INSERT INTO `yee_pay_areas` VALUES (343, '620900', '620000', '酒泉市', 2);
+INSERT INTO `yee_pay_areas` VALUES (344, '621000', '620000', '庆阳市', 2);
+INSERT INTO `yee_pay_areas` VALUES (345, '621100', '620000', '定西市', 2);
+INSERT INTO `yee_pay_areas` VALUES (346, '621200', '620000', '陇南市', 2);
+INSERT INTO `yee_pay_areas` VALUES (347, '622900', '620000', '临夏回族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (348, '623000', '620000', '甘南藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (349, '630100', '630000', '西宁市', 2);
+INSERT INTO `yee_pay_areas` VALUES (350, '632100', '630000', '海东地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (351, '632200', '630000', '海北藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (352, '632300', '630000', '黄南藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (353, '632500', '630000', '海南藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (354, '632600', '630000', '果洛藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (355, '632700', '630000', '玉树藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (356, '632800', '630000', '海西蒙古族藏族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (357, '640100', '640000', '银川市', 2);
+INSERT INTO `yee_pay_areas` VALUES (358, '640200', '640000', '石嘴山市', 2);
+INSERT INTO `yee_pay_areas` VALUES (359, '640300', '640000', '吴忠市', 2);
+INSERT INTO `yee_pay_areas` VALUES (360, '640400', '640000', '固原市', 2);
+INSERT INTO `yee_pay_areas` VALUES (361, '640500', '640000', '中卫市', 2);
+INSERT INTO `yee_pay_areas` VALUES (362, '650100', '650000', '乌鲁木齐市', 2);
+INSERT INTO `yee_pay_areas` VALUES (363, '650200', '650000', '克拉玛依市', 2);
+INSERT INTO `yee_pay_areas` VALUES (364, '652100', '650000', '吐鲁番地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (365, '652200', '650000', '哈密地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (366, '652300', '650000', '昌吉回族自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (367, '652700', '650000', '博尔塔拉蒙古自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (368, '652800', '650000', '巴音郭楞蒙古自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (369, '652900', '650000', '阿克苏地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (370, '653000', '650000', '克孜勒苏柯尔克孜自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (371, '653100', '650000', '喀什地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (372, '653200', '650000', '和田地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (373, '654000', '650000', '伊犁哈萨克自治州', 2);
+INSERT INTO `yee_pay_areas` VALUES (374, '654200', '650000', '塔城地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (375, '654300', '650000', '阿勒泰地区', 2);
+INSERT INTO `yee_pay_areas` VALUES (376, '659000', '650000', '省直辖县级行政单位', 2);
+INSERT INTO `yee_pay_areas` VALUES (377, '110101', '110100', '东城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (378, '110102', '110100', '西城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (379, '110103', '110100', '崇文区', 3);
+INSERT INTO `yee_pay_areas` VALUES (380, '110104', '110100', '宣武区', 3);
+INSERT INTO `yee_pay_areas` VALUES (381, '110105', '110100', '朝阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (382, '110106', '110100', '丰台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (383, '110107', '110100', '石景山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (384, '110108', '110100', '海淀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (385, '110109', '110100', '门头沟区', 3);
+INSERT INTO `yee_pay_areas` VALUES (386, '110111', '110100', '房山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (387, '110112', '110100', '通州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (388, '110113', '110100', '顺义区', 3);
+INSERT INTO `yee_pay_areas` VALUES (389, '110114', '110100', '昌平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (390, '110115', '110100', '大兴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (391, '110116', '110100', '怀柔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (392, '110117', '110100', '平谷区', 3);
+INSERT INTO `yee_pay_areas` VALUES (393, '110228', '110100', '密云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (394, '110229', '110100', '延庆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (395, '120101', '120100', '和平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (396, '120102', '120100', '河东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (397, '120103', '120100', '河西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (398, '120104', '120100', '南开区', 3);
+INSERT INTO `yee_pay_areas` VALUES (399, '120105', '120100', '河北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (400, '120106', '120100', '红桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (401, '120107', '120100', '塘沽区', 3);
+INSERT INTO `yee_pay_areas` VALUES (402, '120108', '120100', '汉沽区', 3);
+INSERT INTO `yee_pay_areas` VALUES (403, '120109', '120100', '大港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (404, '120110', '120100', '东丽区', 3);
+INSERT INTO `yee_pay_areas` VALUES (405, '120111', '120100', '西青区', 3);
+INSERT INTO `yee_pay_areas` VALUES (406, '120112', '120100', '津南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (407, '120113', '120100', '北辰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (408, '120114', '120100', '武清区', 3);
+INSERT INTO `yee_pay_areas` VALUES (409, '120115', '120100', '宝坻区', 3);
+INSERT INTO `yee_pay_areas` VALUES (410, '120221', '120100', '宁河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (411, '120223', '120100', '静海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (412, '120225', '120100', '蓟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (413, '120226', '120100', '保税区', 3);
+INSERT INTO `yee_pay_areas` VALUES (414, '120230', '120100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (415, '120237', '120100', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (416, '120238', '120100', '滨海新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (417, '130102', '130100', '长安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (418, '130103', '130100', '桥东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (419, '130104', '130100', '桥西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (420, '130105', '130100', '新华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (421, '130107', '130100', '井陉矿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (422, '130108', '130100', '裕华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (423, '130121', '130100', '井陉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (424, '130123', '130100', '正定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (425, '130124', '130100', '栾城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (426, '130125', '130100', '行唐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (427, '130126', '130100', '灵寿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (428, '130127', '130100', '高邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (429, '130128', '130100', '深泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (430, '130129', '130100', '赞皇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (431, '130130', '130100', '无极县', 3);
+INSERT INTO `yee_pay_areas` VALUES (432, '130131', '130100', '平山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (433, '130132', '130100', '元氏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (434, '130133', '130100', '赵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (435, '130181', '130100', '辛集市', 3);
+INSERT INTO `yee_pay_areas` VALUES (436, '130182', '130100', '藁城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (437, '130183', '130100', '晋州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (438, '130184', '130100', '新乐市', 3);
+INSERT INTO `yee_pay_areas` VALUES (439, '130185', '130100', '鹿泉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (440, '131204', '130100', '高新技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (441, '130202', '130200', '路南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (442, '130203', '130200', '路北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (443, '130204', '130200', '古冶区', 3);
+INSERT INTO `yee_pay_areas` VALUES (444, '130205', '130200', '开平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (445, '130207', '130200', '丰南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (446, '130208', '130200', '丰润区', 3);
+INSERT INTO `yee_pay_areas` VALUES (447, '130223', '130200', '滦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (448, '130224', '130200', '滦南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (449, '130225', '130200', '乐亭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (450, '130227', '130200', '迁西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (451, '130229', '130200', '玉田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (452, '130230', '130200', '唐海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (453, '130281', '130200', '遵化市', 3);
+INSERT INTO `yee_pay_areas` VALUES (454, '130283', '130200', '迁安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (455, '131198', '130200', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (456, '131199', '130200', '汉沽管理区', 3);
+INSERT INTO `yee_pay_areas` VALUES (457, '131200', '130200', '海港开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (458, '131201', '130200', '芦台开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (459, '131202', '130200', '南堡开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (460, '131203', '130200', '曹妃甸区', 3);
+INSERT INTO `yee_pay_areas` VALUES (461, '130302', '130300', '海港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (462, '130303', '130300', '山海关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (463, '130304', '130300', '北戴河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (464, '130321', '130300', '青龙满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (465, '130322', '130300', '昌黎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (466, '130323', '130300', '抚宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (467, '130324', '130300', '卢龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (468, '131196', '130300', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (469, '130402', '130400', '邯山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (470, '130403', '130400', '丛台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (471, '130404', '130400', '复兴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (472, '130406', '130400', '峰峰矿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (473, '130421', '130400', '邯郸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (474, '130423', '130400', '临漳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (475, '130424', '130400', '成安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (476, '130425', '130400', '大名县', 3);
+INSERT INTO `yee_pay_areas` VALUES (477, '130426', '130400', '涉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (478, '130427', '130400', '磁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (479, '130428', '130400', '肥乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (480, '130429', '130400', '永年县', 3);
+INSERT INTO `yee_pay_areas` VALUES (481, '130430', '130400', '邱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (482, '130431', '130400', '鸡泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (483, '130432', '130400', '广平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (484, '130433', '130400', '馆陶县', 3);
+INSERT INTO `yee_pay_areas` VALUES (485, '130434', '130400', '魏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (486, '130435', '130400', '曲周县', 3);
+INSERT INTO `yee_pay_areas` VALUES (487, '130481', '130400', '武安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (488, '131197', '130400', '经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (489, '130502', '130500', '桥东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (490, '130503', '130500', '桥西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (491, '130521', '130500', '邢台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (492, '130522', '130500', '临城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (493, '130523', '130500', '内丘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (494, '130524', '130500', '柏乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (495, '130525', '130500', '隆尧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (496, '130526', '130500', '任县', 3);
+INSERT INTO `yee_pay_areas` VALUES (497, '130527', '130500', '南和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (498, '130528', '130500', '宁晋县', 3);
+INSERT INTO `yee_pay_areas` VALUES (499, '130529', '130500', '巨鹿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (500, '130530', '130500', '新河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (501, '130531', '130500', '广宗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (502, '130532', '130500', '平乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (503, '130533', '130500', '威县', 3);
+INSERT INTO `yee_pay_areas` VALUES (504, '130534', '130500', '清河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (505, '130535', '130500', '临西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (506, '130581', '130500', '南宫市', 3);
+INSERT INTO `yee_pay_areas` VALUES (507, '130582', '130500', '沙河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (508, '130602', '130600', '新市区', 3);
+INSERT INTO `yee_pay_areas` VALUES (509, '130603', '130600', '南市区', 3);
+INSERT INTO `yee_pay_areas` VALUES (510, '130604', '130600', '北市区', 3);
+INSERT INTO `yee_pay_areas` VALUES (511, '130621', '130600', '满城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (512, '130622', '130600', '清苑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (513, '130623', '130600', '涞水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (514, '130624', '130600', '阜平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (515, '130625', '130600', '徐水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (516, '130626', '130600', '定兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (517, '130627', '130600', '唐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (518, '130628', '130600', '高阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (519, '130629', '130600', '容城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (520, '130630', '130600', '涞源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (521, '130631', '130600', '望都县', 3);
+INSERT INTO `yee_pay_areas` VALUES (522, '130632', '130600', '安新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (523, '130633', '130600', '易县', 3);
+INSERT INTO `yee_pay_areas` VALUES (524, '130634', '130600', '曲阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (525, '130635', '130600', '蠡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (526, '130636', '130600', '顺平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (527, '130637', '130600', '博野县', 3);
+INSERT INTO `yee_pay_areas` VALUES (528, '130638', '130600', '雄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (529, '130681', '130600', '涿州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (530, '130682', '130600', '定州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (531, '130683', '130600', '安国市', 3);
+INSERT INTO `yee_pay_areas` VALUES (532, '130684', '130600', '高碑店市', 3);
+INSERT INTO `yee_pay_areas` VALUES (533, '130685', '130600', '高开区', 3);
+INSERT INTO `yee_pay_areas` VALUES (534, '130702', '130700', '桥东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (535, '130703', '130700', '桥西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (536, '130704', '130700', '安新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (537, '130705', '130700', '宣化区', 3);
+INSERT INTO `yee_pay_areas` VALUES (538, '130706', '130700', '下花园区', 3);
+INSERT INTO `yee_pay_areas` VALUES (539, '130721', '130700', '宣化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (540, '130722', '130700', '张北县', 3);
+INSERT INTO `yee_pay_areas` VALUES (541, '130723', '130700', '康保县', 3);
+INSERT INTO `yee_pay_areas` VALUES (542, '130724', '130700', '沽源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (543, '130725', '130700', '尚义县', 3);
+INSERT INTO `yee_pay_areas` VALUES (544, '130726', '130700', '蔚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (545, '130727', '130700', '阳原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (546, '130728', '130700', '怀安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (547, '130729', '130700', '万全县', 3);
+INSERT INTO `yee_pay_areas` VALUES (548, '130730', '130700', '怀来县', 3);
+INSERT INTO `yee_pay_areas` VALUES (549, '130731', '130700', '涿鹿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (550, '130732', '130700', '赤城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (551, '130733', '130700', '崇礼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (552, '130802', '130800', '双桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (553, '130803', '130800', '双滦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (554, '130804', '130800', '鹰手营子矿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (555, '130821', '130800', '承德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (556, '130822', '130800', '兴隆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (557, '130823', '130800', '平泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (558, '130824', '130800', '滦平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (559, '130825', '130800', '隆化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (560, '130826', '130800', '丰宁满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (561, '130827', '130800', '宽城满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (562, '130828', '130800', '围场满族蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (563, '130902', '130900', '新华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (564, '130903', '130900', '运河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (565, '130921', '130900', '沧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (566, '130922', '130900', '青县', 3);
+INSERT INTO `yee_pay_areas` VALUES (567, '130923', '130900', '东光县', 3);
+INSERT INTO `yee_pay_areas` VALUES (568, '130924', '130900', '海兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (569, '130925', '130900', '盐山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (570, '130926', '130900', '肃宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (571, '130927', '130900', '南皮县', 3);
+INSERT INTO `yee_pay_areas` VALUES (572, '130928', '130900', '吴桥县', 3);
+INSERT INTO `yee_pay_areas` VALUES (573, '130929', '130900', '献县', 3);
+INSERT INTO `yee_pay_areas` VALUES (574, '130930', '130900', '孟村回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (575, '130981', '130900', '泊头市', 3);
+INSERT INTO `yee_pay_areas` VALUES (576, '130982', '130900', '任丘市', 3);
+INSERT INTO `yee_pay_areas` VALUES (577, '130983', '130900', '黄骅市', 3);
+INSERT INTO `yee_pay_areas` VALUES (578, '130984', '130900', '河间市', 3);
+INSERT INTO `yee_pay_areas` VALUES (579, '131002', '131000', '安次区', 3);
+INSERT INTO `yee_pay_areas` VALUES (580, '131003', '131000', '广阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (581, '131022', '131000', '固安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (582, '131023', '131000', '永清县', 3);
+INSERT INTO `yee_pay_areas` VALUES (583, '131024', '131000', '香河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (584, '131025', '131000', '大城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (585, '131026', '131000', '文安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (586, '131028', '131000', '大厂回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (587, '131081', '131000', '霸州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (588, '131082', '131000', '三河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (589, '131187', '131000', '燕郊经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (590, '131205', '131000', '开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (591, '131102', '131100', '桃城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (592, '131121', '131100', '枣强县', 3);
+INSERT INTO `yee_pay_areas` VALUES (593, '131122', '131100', '武邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (594, '131123', '131100', '武强县', 3);
+INSERT INTO `yee_pay_areas` VALUES (595, '131124', '131100', '饶阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (596, '131125', '131100', '安平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (597, '131126', '131100', '故城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (598, '131127', '131100', '景县', 3);
+INSERT INTO `yee_pay_areas` VALUES (599, '131128', '131100', '阜城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (600, '131181', '131100', '冀州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (601, '131182', '131100', '深州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (602, '140105', '140100', '小店区', 3);
+INSERT INTO `yee_pay_areas` VALUES (603, '140106', '140100', '迎泽区', 3);
+INSERT INTO `yee_pay_areas` VALUES (604, '140107', '140100', '杏花岭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (605, '140108', '140100', '尖草坪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (606, '140109', '140100', '万柏林区', 3);
+INSERT INTO `yee_pay_areas` VALUES (607, '140110', '140100', '晋源区', 3);
+INSERT INTO `yee_pay_areas` VALUES (608, '140111', '140100', '城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (609, '140121', '140100', '清徐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (610, '140122', '140100', '阳曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (611, '140123', '140100', '娄烦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (612, '140181', '140100', '古交市', 3);
+INSERT INTO `yee_pay_areas` VALUES (613, '140202', '140200', '城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (614, '140203', '140200', '矿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (615, '140211', '140200', '南郊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (616, '140212', '140200', '新荣区', 3);
+INSERT INTO `yee_pay_areas` VALUES (617, '140221', '140200', '阳高县', 3);
+INSERT INTO `yee_pay_areas` VALUES (618, '140222', '140200', '天镇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (619, '140223', '140200', '广灵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (620, '140224', '140200', '灵丘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (621, '140225', '140200', '浑源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (622, '140226', '140200', '左云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (623, '140227', '140200', '大同县', 3);
+INSERT INTO `yee_pay_areas` VALUES (624, '140302', '140300', '城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (625, '140303', '140300', '矿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (626, '140311', '140300', '郊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (627, '140321', '140300', '平定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (628, '140322', '140300', '盂县', 3);
+INSERT INTO `yee_pay_areas` VALUES (629, '140402', '140400', '城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (630, '140411', '140400', '郊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (631, '140421', '140400', '长治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (632, '140423', '140400', '襄垣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (633, '140424', '140400', '屯留县', 3);
+INSERT INTO `yee_pay_areas` VALUES (634, '140425', '140400', '平顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (635, '140426', '140400', '黎城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (636, '140427', '140400', '壶关县', 3);
+INSERT INTO `yee_pay_areas` VALUES (637, '140428', '140400', '长子县', 3);
+INSERT INTO `yee_pay_areas` VALUES (638, '140429', '140400', '武乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (639, '140430', '140400', '沁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (640, '140431', '140400', '沁源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (641, '140481', '140400', '潞城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (642, '140482', '140400', '高新产业技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (643, '140502', '140500', '城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (644, '140521', '140500', '沁水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (645, '140522', '140500', '阳城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (646, '140524', '140500', '陵川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (647, '140525', '140500', '泽州县', 3);
+INSERT INTO `yee_pay_areas` VALUES (648, '140581', '140500', '高平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (649, '140602', '140600', '朔城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (650, '140603', '140600', '平鲁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (651, '140621', '140600', '山阴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (652, '140622', '140600', '应县', 3);
+INSERT INTO `yee_pay_areas` VALUES (653, '140623', '140600', '右玉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (654, '140624', '140600', '怀仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (655, '140702', '140700', '榆次区', 3);
+INSERT INTO `yee_pay_areas` VALUES (656, '140721', '140700', '榆社县', 3);
+INSERT INTO `yee_pay_areas` VALUES (657, '140722', '140700', '左权县', 3);
+INSERT INTO `yee_pay_areas` VALUES (658, '140723', '140700', '和顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (659, '140724', '140700', '昔阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (660, '140725', '140700', '寿阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (661, '140726', '140700', '太谷县', 3);
+INSERT INTO `yee_pay_areas` VALUES (662, '140727', '140700', '祁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (663, '140728', '140700', '平遥县', 3);
+INSERT INTO `yee_pay_areas` VALUES (664, '140729', '140700', '灵石县', 3);
+INSERT INTO `yee_pay_areas` VALUES (665, '140781', '140700', '介休市', 3);
+INSERT INTO `yee_pay_areas` VALUES (666, '140802', '140800', '盐湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (667, '140821', '140800', '临猗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (668, '140822', '140800', '万荣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (669, '140823', '140800', '闻喜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (670, '140824', '140800', '稷山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (671, '140825', '140800', '新绛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (672, '140826', '140800', '绛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (673, '140827', '140800', '垣曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (674, '140828', '140800', '夏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (675, '140829', '140800', '平陆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (676, '140830', '140800', '芮城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (677, '140881', '140800', '永济市', 3);
+INSERT INTO `yee_pay_areas` VALUES (678, '140882', '140800', '河津市', 3);
+INSERT INTO `yee_pay_areas` VALUES (679, '140902', '140900', '忻府区', 3);
+INSERT INTO `yee_pay_areas` VALUES (680, '140921', '140900', '定襄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (681, '140922', '140900', '五台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (682, '140923', '140900', '代县', 3);
+INSERT INTO `yee_pay_areas` VALUES (683, '140924', '140900', '繁峙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (684, '140925', '140900', '宁武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (685, '140926', '140900', '静乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (686, '140927', '140900', '神池县', 3);
+INSERT INTO `yee_pay_areas` VALUES (687, '140928', '140900', '五寨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (688, '140929', '140900', '岢岚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (689, '140930', '140900', '河曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (690, '140931', '140900', '保德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (691, '140932', '140900', '偏关县', 3);
+INSERT INTO `yee_pay_areas` VALUES (692, '140981', '140900', '原平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (693, '141002', '141000', '尧都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (694, '141021', '141000', '曲沃县', 3);
+INSERT INTO `yee_pay_areas` VALUES (695, '141022', '141000', '翼城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (696, '141023', '141000', '襄汾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (697, '141024', '141000', '洪洞县', 3);
+INSERT INTO `yee_pay_areas` VALUES (698, '141025', '141000', '古县', 3);
+INSERT INTO `yee_pay_areas` VALUES (699, '141026', '141000', '安泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (700, '141027', '141000', '浮山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (701, '141028', '141000', '吉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (702, '141029', '141000', '乡宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (703, '141030', '141000', '大宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (704, '141031', '141000', '隰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (705, '141032', '141000', '永和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (706, '141033', '141000', '蒲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (707, '141034', '141000', '汾西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (708, '141081', '141000', '侯马市', 3);
+INSERT INTO `yee_pay_areas` VALUES (709, '141082', '141000', '霍州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (710, '141102', '141100', '离石区', 3);
+INSERT INTO `yee_pay_areas` VALUES (711, '141121', '141100', '文水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (712, '141122', '141100', '交城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (713, '141123', '141100', '兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (714, '141124', '141100', '临县', 3);
+INSERT INTO `yee_pay_areas` VALUES (715, '141125', '141100', '柳林县', 3);
+INSERT INTO `yee_pay_areas` VALUES (716, '141126', '141100', '石楼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (717, '141127', '141100', '岚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (718, '141128', '141100', '方山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (719, '141129', '141100', '中阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (720, '141130', '141100', '交口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (721, '141181', '141100', '孝义市', 3);
+INSERT INTO `yee_pay_areas` VALUES (722, '141182', '141100', '汾阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (723, '150102', '150100', '回民区', 3);
+INSERT INTO `yee_pay_areas` VALUES (724, '150103', '150100', '玉泉区', 3);
+INSERT INTO `yee_pay_areas` VALUES (725, '150104', '150100', '新城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (726, '150105', '150100', '赛罕区', 3);
+INSERT INTO `yee_pay_areas` VALUES (727, '150121', '150100', '土默特左旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (728, '150122', '150100', '托克托县', 3);
+INSERT INTO `yee_pay_areas` VALUES (729, '150123', '150100', '和林格尔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (730, '150124', '150100', '清水河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (731, '150125', '150100', '武川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (732, '150126', '150100', '金川开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (733, '150202', '150200', '东河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (734, '150203', '150200', '昆都仑区', 3);
+INSERT INTO `yee_pay_areas` VALUES (735, '150204', '150200', '青山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (736, '150205', '150200', '石拐区', 3);
+INSERT INTO `yee_pay_areas` VALUES (737, '150206', '150200', '白云鄂博矿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (738, '150207', '150200', '九原区', 3);
+INSERT INTO `yee_pay_areas` VALUES (739, '150221', '150200', '土默特右旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (740, '150222', '150200', '固阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (741, '150223', '150200', '达尔罕茂明安联合旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (742, '150302', '150300', '海勃湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (743, '150303', '150300', '海南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (744, '150304', '150300', '乌达区', 3);
+INSERT INTO `yee_pay_areas` VALUES (745, '150402', '150400', '红山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (746, '150403', '150400', '元宝山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (747, '150404', '150400', '松山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (748, '150421', '150400', '阿鲁科尔沁旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (749, '150422', '150400', '巴林左旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (750, '150423', '150400', '巴林右旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (751, '150424', '150400', '林西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (752, '150425', '150400', '克什克腾旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (753, '150426', '150400', '翁牛特旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (754, '150428', '150400', '喀喇沁旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (755, '150429', '150400', '宁城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (756, '150430', '150400', '敖汉旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (757, '150431', '150400', '新城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (758, '150502', '150500', '科尔沁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (759, '150521', '150500', '科尔沁左翼中旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (760, '150522', '150500', '科尔沁左翼后旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (761, '150523', '150500', '开鲁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (762, '150524', '150500', '库伦旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (763, '150525', '150500', '奈曼旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (764, '150526', '150500', '扎鲁特旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (765, '150581', '150500', '霍林郭勒市', 3);
+INSERT INTO `yee_pay_areas` VALUES (766, '150602', '150600', '东胜区', 3);
+INSERT INTO `yee_pay_areas` VALUES (767, '150621', '150600', '达拉特旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (768, '150622', '150600', '准格尔旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (769, '150623', '150600', '鄂托克前旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (770, '150624', '150600', '鄂托克旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (771, '150625', '150600', '杭锦旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (772, '150626', '150600', '乌审旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (773, '150627', '150600', '伊金霍洛旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (774, '150702', '150700', '海拉尔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (775, '150721', '150700', '阿荣旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (776, '150722', '150700', '莫力达瓦达斡尔族自治旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (777, '150723', '150700', '鄂伦春自治旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (778, '150724', '150700', '鄂温克族自治旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (779, '150725', '150700', '陈巴尔虎旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (780, '150726', '150700', '新巴尔虎左旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (781, '150727', '150700', '新巴尔虎右旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (782, '150781', '150700', '满洲里市', 3);
+INSERT INTO `yee_pay_areas` VALUES (783, '150782', '150700', '牙克石市', 3);
+INSERT INTO `yee_pay_areas` VALUES (784, '150783', '150700', '扎兰屯市', 3);
+INSERT INTO `yee_pay_areas` VALUES (785, '150784', '150700', '额尔古纳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (786, '150785', '150700', '根河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (787, '150802', '150800', '临河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (788, '150821', '150800', '五原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (789, '150822', '150800', '磴口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (790, '150823', '150800', '乌拉特前旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (791, '150824', '150800', '乌拉特中旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (792, '150825', '150800', '乌拉特后旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (793, '150826', '150800', '杭锦后旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (794, '150902', '150900', '集宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (795, '150921', '150900', '卓资县', 3);
+INSERT INTO `yee_pay_areas` VALUES (796, '150922', '150900', '化德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (797, '150923', '150900', '商都县', 3);
+INSERT INTO `yee_pay_areas` VALUES (798, '150924', '150900', '兴和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (799, '150925', '150900', '凉城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (800, '150926', '150900', '察哈尔右翼前旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (801, '150927', '150900', '察哈尔右翼中旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (802, '150928', '150900', '察哈尔右翼后旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (803, '150929', '150900', '四子王旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (804, '150981', '150900', '丰镇市', 3);
+INSERT INTO `yee_pay_areas` VALUES (805, '152201', '152200', '乌兰浩特市', 3);
+INSERT INTO `yee_pay_areas` VALUES (806, '152202', '152200', '阿尔山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (807, '152221', '152200', '科尔沁右翼前旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (808, '152222', '152200', '科尔沁右翼中旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (809, '152223', '152200', '扎赉特旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (810, '152224', '152200', '突泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (811, '152501', '152500', '二连浩特市', 3);
+INSERT INTO `yee_pay_areas` VALUES (812, '152502', '152500', '锡林浩特市', 3);
+INSERT INTO `yee_pay_areas` VALUES (813, '152522', '152500', '阿巴嘎旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (814, '152523', '152500', '苏尼特左旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (815, '152524', '152500', '苏尼特右旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (816, '152525', '152500', '东乌珠穆沁旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (817, '152526', '152500', '西乌珠穆沁旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (818, '152527', '152500', '太仆寺旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (819, '152528', '152500', '镶黄旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (820, '152529', '152500', '正镶白旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (821, '152530', '152500', '正蓝旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (822, '152531', '152500', '多伦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (823, '152532', '152500', '乌拉盖管理区', 3);
+INSERT INTO `yee_pay_areas` VALUES (824, '152921', '152900', '阿拉善左旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (825, '152922', '152900', '阿拉善右旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (826, '152923', '152900', '额济纳旗', 3);
+INSERT INTO `yee_pay_areas` VALUES (827, '210102', '210100', '和平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (828, '210103', '210100', '沈河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (829, '210104', '210100', '大东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (830, '210105', '210100', '皇姑区', 3);
+INSERT INTO `yee_pay_areas` VALUES (831, '210106', '210100', '铁西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (832, '210111', '210100', '苏家屯区', 3);
+INSERT INTO `yee_pay_areas` VALUES (833, '210112', '210100', '东陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (834, '210113', '210100', '沈北新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (835, '210114', '210100', '于洪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (836, '210115', '210100', '张士开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (837, '210122', '210100', '辽中县', 3);
+INSERT INTO `yee_pay_areas` VALUES (838, '210123', '210100', '康平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (839, '210124', '210100', '法库县', 3);
+INSERT INTO `yee_pay_areas` VALUES (840, '210181', '210100', '新民市', 3);
+INSERT INTO `yee_pay_areas` VALUES (841, '211505', '210100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (842, '211506', '210100', '浑南新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (843, '211507', '210100', '新城子经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (844, '210202', '210200', '中山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (845, '210203', '210200', '西岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (846, '210204', '210200', '沙河口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (847, '210211', '210200', '甘井子区', 3);
+INSERT INTO `yee_pay_areas` VALUES (848, '210212', '210200', '旅顺口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (849, '210213', '210200', '金州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (850, '210224', '210200', '长海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (851, '210281', '210200', '瓦房店市', 3);
+INSERT INTO `yee_pay_areas` VALUES (852, '210282', '210200', '普兰店市', 3);
+INSERT INTO `yee_pay_areas` VALUES (853, '210283', '210200', '庄河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (854, '211503', '210200', '开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (855, '211504', '210200', '保税区', 3);
+INSERT INTO `yee_pay_areas` VALUES (856, '210302', '210300', '铁东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (857, '210303', '210300', '铁西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (858, '210304', '210300', '立山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (859, '210311', '210300', '千山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (860, '210321', '210300', '台安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (861, '210323', '210300', '岫岩满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (862, '210381', '210300', '海城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (863, '210382', '210300', '铁东高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (864, '210402', '210400', '新抚区', 3);
+INSERT INTO `yee_pay_areas` VALUES (865, '210403', '210400', '东洲区', 3);
+INSERT INTO `yee_pay_areas` VALUES (866, '210404', '210400', '望花区', 3);
+INSERT INTO `yee_pay_areas` VALUES (867, '210411', '210400', '顺城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (868, '210421', '210400', '抚顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (869, '210422', '210400', '新宾满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (870, '210423', '210400', '清原满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (871, '210502', '210500', '平山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (872, '210503', '210500', '明山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (873, '210504', '210500', '溪湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (874, '210505', '210500', '南芬区', 3);
+INSERT INTO `yee_pay_areas` VALUES (875, '210521', '210500', '本溪满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (876, '210522', '210500', '桓仁满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (877, '210602', '210600', '元宝区', 3);
+INSERT INTO `yee_pay_areas` VALUES (878, '210603', '210600', '振兴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (879, '210604', '210600', '振安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (880, '210624', '210600', '宽甸满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (881, '210681', '210600', '东港市', 3);
+INSERT INTO `yee_pay_areas` VALUES (882, '210682', '210600', '凤城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (883, '210702', '210700', '古塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (884, '210703', '210700', '凌河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (885, '210711', '210700', '太和区', 3);
+INSERT INTO `yee_pay_areas` VALUES (886, '210726', '210700', '黑山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (887, '210727', '210700', '义县', 3);
+INSERT INTO `yee_pay_areas` VALUES (888, '210781', '210700', '凌海市', 3);
+INSERT INTO `yee_pay_areas` VALUES (889, '210782', '210700', '北宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (890, '211508', '210700', '松山新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (891, '211509', '210700', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (892, '211510', '210700', '北镇市', 3);
+INSERT INTO `yee_pay_areas` VALUES (893, '210802', '210800', '站前区', 3);
+INSERT INTO `yee_pay_areas` VALUES (894, '210803', '210800', '西市区', 3);
+INSERT INTO `yee_pay_areas` VALUES (895, '210804', '210800', '鲅鱼圈区', 3);
+INSERT INTO `yee_pay_areas` VALUES (896, '210811', '210800', '老边区', 3);
+INSERT INTO `yee_pay_areas` VALUES (897, '210881', '210800', '盖州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (898, '210882', '210800', '大石桥市', 3);
+INSERT INTO `yee_pay_areas` VALUES (899, '210902', '210900', '海州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (900, '210903', '210900', '新邱区', 3);
+INSERT INTO `yee_pay_areas` VALUES (901, '210904', '210900', '太平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (902, '210905', '210900', '清河门区', 3);
+INSERT INTO `yee_pay_areas` VALUES (903, '210911', '210900', '细河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (904, '210921', '210900', '阜新蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (905, '210922', '210900', '彰武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (906, '211002', '211000', '白塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (907, '211003', '211000', '文圣区', 3);
+INSERT INTO `yee_pay_areas` VALUES (908, '211004', '211000', '宏伟区', 3);
+INSERT INTO `yee_pay_areas` VALUES (909, '211005', '211000', '弓长岭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (910, '211011', '211000', '太子河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (911, '211021', '211000', '辽阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (912, '211081', '211000', '灯塔市', 3);
+INSERT INTO `yee_pay_areas` VALUES (913, '211102', '211100', '双台子区', 3);
+INSERT INTO `yee_pay_areas` VALUES (914, '211103', '211100', '兴隆台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (915, '211121', '211100', '大洼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (916, '211122', '211100', '盘山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (917, '211202', '211200', '银州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (918, '211204', '211200', '清河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (919, '211221', '211200', '铁岭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (920, '211223', '211200', '西丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (921, '211224', '211200', '昌图县', 3);
+INSERT INTO `yee_pay_areas` VALUES (922, '211281', '211200', '调兵山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (923, '211282', '211200', '开原市', 3);
+INSERT INTO `yee_pay_areas` VALUES (924, '211302', '211300', '双塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (925, '211303', '211300', '龙城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (926, '211321', '211300', '朝阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (927, '211322', '211300', '建平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (928, '211324', '211300', '喀喇沁左翼蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (929, '211381', '211300', '北票市', 3);
+INSERT INTO `yee_pay_areas` VALUES (930, '211382', '211300', '凌源市', 3);
+INSERT INTO `yee_pay_areas` VALUES (931, '211402', '211400', '连山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (932, '211403', '211400', '龙港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (933, '211404', '211400', '南票区', 3);
+INSERT INTO `yee_pay_areas` VALUES (934, '211421', '211400', '绥中县', 3);
+INSERT INTO `yee_pay_areas` VALUES (935, '211422', '211400', '建昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (936, '211481', '211400', '兴城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (937, '220102', '220100', '南关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (938, '220103', '220100', '宽城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (939, '220104', '220100', '朝阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (940, '220105', '220100', '二道区', 3);
+INSERT INTO `yee_pay_areas` VALUES (941, '220106', '220100', '绿园区', 3);
+INSERT INTO `yee_pay_areas` VALUES (942, '220112', '220100', '双阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (943, '220122', '220100', '农安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (944, '220181', '220100', '九台市', 3);
+INSERT INTO `yee_pay_areas` VALUES (945, '220182', '220100', '榆树市', 3);
+INSERT INTO `yee_pay_areas` VALUES (946, '220183', '220100', '德惠市', 3);
+INSERT INTO `yee_pay_areas` VALUES (947, '222439', '220100', '净月经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (948, '222440', '220100', '高新技术产业开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (949, '222441', '220100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (950, '222442', '220100', '汽车产业开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (951, '220202', '220200', '昌邑区', 3);
+INSERT INTO `yee_pay_areas` VALUES (952, '220203', '220200', '龙潭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (953, '220204', '220200', '船营区', 3);
+INSERT INTO `yee_pay_areas` VALUES (954, '220211', '220200', '丰满区', 3);
+INSERT INTO `yee_pay_areas` VALUES (955, '220221', '220200', '永吉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (956, '220281', '220200', '蛟河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (957, '220282', '220200', '桦甸市', 3);
+INSERT INTO `yee_pay_areas` VALUES (958, '220283', '220200', '舒兰市', 3);
+INSERT INTO `yee_pay_areas` VALUES (959, '220284', '220200', '磐石市', 3);
+INSERT INTO `yee_pay_areas` VALUES (960, '220302', '220300', '铁西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (961, '220303', '220300', '铁东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (962, '220322', '220300', '梨树县', 3);
+INSERT INTO `yee_pay_areas` VALUES (963, '220323', '220300', '伊通满族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (964, '220381', '220300', '公主岭市', 3);
+INSERT INTO `yee_pay_areas` VALUES (965, '220382', '220300', '双辽市', 3);
+INSERT INTO `yee_pay_areas` VALUES (966, '220402', '220400', '龙山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (967, '220403', '220400', '西安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (968, '220421', '220400', '东丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (969, '220422', '220400', '东辽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (970, '220502', '220500', '东昌区', 3);
+INSERT INTO `yee_pay_areas` VALUES (971, '220503', '220500', '二道江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (972, '220521', '220500', '通化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (973, '220523', '220500', '辉南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (974, '220524', '220500', '柳河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (975, '220581', '220500', '梅河口市', 3);
+INSERT INTO `yee_pay_areas` VALUES (976, '220582', '220500', '集安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (977, '220602', '220600', '浑江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (978, '220603', '220600', '江源区', 3);
+INSERT INTO `yee_pay_areas` VALUES (979, '220621', '220600', '抚松县', 3);
+INSERT INTO `yee_pay_areas` VALUES (980, '220622', '220600', '靖宇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (981, '220623', '220600', '长白朝鲜族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (982, '220625', '220600', '江源区', 3);
+INSERT INTO `yee_pay_areas` VALUES (983, '220681', '220600', '临江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (984, '220702', '220700', '宁江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (985, '220721', '220700', '前郭尔罗斯蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (986, '220722', '220700', '长岭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (987, '220723', '220700', '乾安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (988, '220724', '220700', '扶余市', 3);
+INSERT INTO `yee_pay_areas` VALUES (989, '220802', '220800', '洮北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (990, '220821', '220800', '镇赉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (991, '220822', '220800', '通榆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (992, '220881', '220800', '洮南市', 3);
+INSERT INTO `yee_pay_areas` VALUES (993, '220882', '220800', '大安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (994, '222401', '222400', '延吉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (995, '222402', '222400', '图们市', 3);
+INSERT INTO `yee_pay_areas` VALUES (996, '222403', '222400', '敦化市', 3);
+INSERT INTO `yee_pay_areas` VALUES (997, '222404', '222400', '珲春市', 3);
+INSERT INTO `yee_pay_areas` VALUES (998, '222405', '222400', '龙井市', 3);
+INSERT INTO `yee_pay_areas` VALUES (999, '222406', '222400', '和龙市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1000, '222424', '222400', '汪清县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1001, '222426', '222400', '安图县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1002, '230102', '230100', '道里区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1003, '230103', '230100', '南岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1004, '230104', '230100', '道外区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1005, '230106', '230100', '香坊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1006, '230107', '230100', '动力区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1007, '230108', '230100', '平房区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1008, '230109', '230100', '松北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1009, '230111', '230100', '呼兰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1010, '230123', '230100', '依兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1011, '230124', '230100', '方正县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1012, '230125', '230100', '宾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1013, '230126', '230100', '巴彦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1014, '230127', '230100', '木兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1015, '230128', '230100', '通河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1016, '230129', '230100', '延寿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1017, '230181', '230100', '阿城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1018, '230182', '230100', '双城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1019, '230183', '230100', '尚志市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1020, '230184', '230100', '五常市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1021, '230202', '230200', '龙沙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1022, '230203', '230200', '建华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1023, '230204', '230200', '铁锋区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1024, '230205', '230200', '昂昂溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1025, '230206', '230200', '富拉尔基区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1026, '230207', '230200', '碾子山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1027, '230208', '230200', '梅里斯达斡尔族区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1028, '230221', '230200', '龙江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1029, '230223', '230200', '依安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1030, '230224', '230200', '泰来县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1031, '230225', '230200', '甘南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1032, '230227', '230200', '富裕县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1033, '230229', '230200', '克山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1034, '230230', '230200', '克东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1035, '230231', '230200', '拜泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1036, '230281', '230200', '讷河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1037, '230302', '230300', '鸡冠区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1038, '230303', '230300', '恒山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1039, '230304', '230300', '滴道区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1040, '230305', '230300', '梨树区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1041, '230306', '230300', '城子河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1042, '230307', '230300', '麻山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1043, '230321', '230300', '鸡东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1044, '230381', '230300', '虎林市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1045, '230382', '230300', '密山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1046, '230383', '230300', '桥北开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1047, '230402', '230400', '向阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1048, '230403', '230400', '工农区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1049, '230404', '230400', '南山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1050, '230405', '230400', '兴安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1051, '230406', '230400', '东山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1052, '230407', '230400', '兴山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1053, '230421', '230400', '萝北县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1054, '230422', '230400', '绥滨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1055, '230502', '230500', '尖山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1056, '230503', '230500', '岭东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1057, '230505', '230500', '四方台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1058, '230506', '230500', '宝山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1059, '230521', '230500', '集贤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1060, '230522', '230500', '友谊县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1061, '230523', '230500', '宝清县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1062, '230524', '230500', '饶河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1063, '230602', '230600', '萨尔图区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1064, '230603', '230600', '龙凤区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1065, '230604', '230600', '让胡路区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1066, '230605', '230600', '红岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1067, '230606', '230600', '大同区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1068, '230607', '230600', '新村开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1069, '230621', '230600', '肇州县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1070, '230622', '230600', '肇源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1071, '230623', '230600', '林甸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1072, '230624', '230600', '杜尔伯特蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1073, '230702', '230700', '伊春区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1074, '230703', '230700', '南岔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1075, '230704', '230700', '友好区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1076, '230705', '230700', '西林区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1077, '230706', '230700', '翠峦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1078, '230707', '230700', '新青区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1079, '230708', '230700', '美溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1080, '230709', '230700', '金山屯区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1081, '230710', '230700', '五营区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1082, '230711', '230700', '乌马河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1083, '230712', '230700', '汤旺河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1084, '230713', '230700', '带岭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1085, '230714', '230700', '乌伊岭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1086, '230715', '230700', '红星区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1087, '230716', '230700', '上甘岭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1088, '230722', '230700', '嘉荫县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1089, '230781', '230700', '铁力市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1090, '230803', '230800', '向阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1091, '230804', '230800', '前进区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1092, '230805', '230800', '东风区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1093, '230811', '230800', '郊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1094, '230822', '230800', '桦南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1095, '230826', '230800', '桦川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1096, '230828', '230800', '汤原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1097, '230833', '230800', '抚远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1098, '230881', '230800', '同江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1099, '230882', '230800', '富锦市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1100, '230902', '230900', '新兴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1101, '230903', '230900', '桃山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1102, '230904', '230900', '茄子河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1103, '230921', '230900', '勃利县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1104, '231002', '231000', '东安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1105, '231003', '231000', '爱民区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1106, '231004', '231000', '阳明区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1107, '231005', '231000', '西安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1108, '231024', '231000', '东宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1109, '231025', '231000', '林口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1110, '231081', '231000', '绥芬河市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1111, '231083', '231000', '海林市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1112, '231084', '231000', '宁安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1113, '231085', '231000', '穆棱市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1114, '231102', '231100', '爱辉区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1115, '231121', '231100', '嫩江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1116, '231123', '231100', '逊克县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1117, '231124', '231100', '孙吴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1118, '231181', '231100', '北安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1119, '231182', '231100', '五大连池市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1120, '231202', '231200', '北林区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1121, '231221', '231200', '望奎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1122, '231222', '231200', '兰西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1123, '231223', '231200', '青冈县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1124, '231224', '231200', '庆安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1125, '231225', '231200', '明水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1126, '231226', '231200', '绥棱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1127, '231281', '231200', '安达市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1128, '231282', '231200', '肇东市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1129, '231283', '231200', '海伦市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1130, '232721', '232700', '呼玛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1131, '232722', '232700', '塔河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1132, '232723', '232700', '漠河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1133, '232740', '232700', '加格达奇区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1134, '232741', '232700', '松岭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1135, '232742', '232700', '新林区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1136, '232743', '232700', '呼中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1137, '310101', '310100', '黄浦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1138, '310103', '310100', '卢湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1139, '310104', '310100', '徐汇区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1140, '310105', '310100', '长宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1141, '310106', '310100', '静安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1142, '310107', '310100', '普陀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1143, '310108', '310100', '闸北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1144, '310109', '310100', '虹口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1145, '310110', '310100', '杨浦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1146, '310112', '310100', '闵行区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1147, '310113', '310100', '宝山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1148, '310114', '310100', '嘉定区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1149, '310115', '310100', '浦东新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1150, '310116', '310100', '金山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1151, '310117', '310100', '松江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1152, '310118', '310100', '青浦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1153, '310119', '310100', '南汇区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1154, '310120', '310100', '奉贤区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1155, '310230', '310100', '崇明县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1156, '320102', '320100', '玄武区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1157, '320103', '320100', '白下区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1158, '320104', '320100', '秦淮区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1159, '320105', '320100', '建邺区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1160, '320106', '320100', '鼓楼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1161, '320107', '320100', '下关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1162, '320111', '320100', '浦口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1163, '320113', '320100', '栖霞区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1164, '320114', '320100', '雨花台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1165, '320115', '320100', '江宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1166, '320116', '320100', '六合区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1167, '320124', '320100', '溧水区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1168, '320125', '320100', '高淳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1169, '320202', '320200', '崇安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1170, '320203', '320200', '南长区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1171, '320204', '320200', '北塘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1172, '320205', '320200', '锡山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1173, '320206', '320200', '惠山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1174, '320211', '320200', '滨湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1175, '320282', '320200', '宜兴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1176, '321325', '320200', '新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1177, '320281', '329281', '江阴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1178, '320302', '320300', '云龙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1179, '320303', '320300', '鼓楼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1180, '320304', '320300', '九里区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1181, '320305', '320300', '泉山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1182, '320311', '320300', '铜山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1183, '320321', '320300', '贾汪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1184, '320322', '320300', '丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1185, '320323', '320300', '沛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1186, '320324', '320300', '睢宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1187, '320381', '320300', '新沂市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1188, '320382', '320300', '邳州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1189, '320402', '320400', '天宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1190, '320404', '320400', '钟楼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1191, '320405', '320400', '戚墅堰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1192, '320411', '320400', '新北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1193, '320412', '320400', '武进区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1194, '320481', '320400', '溧阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1195, '320482', '320400', '金坛市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1196, '320502', '320500', '沧浪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1197, '320503', '320500', '平江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1198, '320504', '320500', '金阊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1199, '320505', '320500', '虎丘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1200, '320506', '320500', '吴中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1201, '320507', '320500', '相城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1202, '320508', '320500', '姑苏区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1203, '320581', '320500', '常熟市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1204, '320582', '320500', '张家港市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1205, '320583', '320500', '昆山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1206, '320584', '320500', '吴江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1207, '320585', '320500', '太仓市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1208, '321341', '320500', '工业园区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1209, '321344', '320500', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1210, '320602', '320600', '崇川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1211, '320611', '320600', '港闸区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1212, '320621', '320600', '海安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1213, '320623', '320600', '如东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1214, '320681', '320600', '启东市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1215, '320682', '320600', '如皋市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1216, '320683', '320600', '通州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1217, '320684', '320600', '海门市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1218, '321342', '320600', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1219, '320703', '320700', '连云区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1220, '320705', '320700', '新浦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1221, '320706', '320700', '海州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1222, '320721', '320700', '赣榆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1223, '320722', '320700', '东海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1224, '320723', '320700', '灌云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1225, '320724', '320700', '灌南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1226, '320802', '320800', '清河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1227, '320803', '320800', '淮安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1228, '320804', '320800', '淮阴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1229, '320811', '320800', '清浦区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1230, '320826', '320800', '涟水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1231, '320829', '320800', '洪泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1232, '320830', '320800', '盱眙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1233, '320831', '320800', '金湖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1234, '320902', '320900', '亭湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1235, '320903', '320900', '盐都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1236, '320921', '320900', '响水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1237, '320922', '320900', '滨海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1238, '320923', '320900', '阜宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1239, '320924', '320900', '射阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1240, '320925', '320900', '建湖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1241, '320981', '320900', '东台市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1242, '320982', '320900', '大丰市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1243, '321002', '321000', '广陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1244, '321003', '321000', '邗江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1245, '321012', '321000', '江都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1246, '321023', '321000', '宝应县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1247, '321081', '321000', '仪征市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1248, '321084', '321000', '高邮市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1249, '321088', '321000', '江都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1250, '321343', '321000', '维扬区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1251, '321359', '321000', '经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1252, '321102', '321100', '京口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1253, '321111', '321100', '润州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1254, '321112', '321100', '丹徒区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1255, '321181', '321100', '丹阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1256, '321182', '321100', '扬中市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1257, '321183', '321100', '句容市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1258, '321360', '321100', '新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1259, '321202', '321200', '海陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1260, '321203', '321200', '高港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1261, '321281', '321200', '兴化市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1262, '321282', '321200', '靖江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1263, '321283', '321200', '泰兴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1264, '321284', '321200', '姜堰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1265, '321302', '321300', '宿城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1266, '321311', '321300', '宿豫区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1267, '321322', '321300', '沭阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1268, '321323', '321300', '泗阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1269, '321324', '321300', '泗洪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1270, '330102', '330100', '上城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1271, '330103', '330100', '下城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1272, '330104', '330100', '江干区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1273, '330105', '330100', '拱墅区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1274, '330106', '330100', '西湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1275, '330108', '330100', '滨江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1276, '330109', '330100', '萧山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1277, '330110', '330100', '余杭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1278, '330122', '330100', '桐庐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1279, '330127', '330100', '淳安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1280, '330182', '330100', '建德市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1281, '330183', '330100', '富阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1282, '330185', '330100', '临安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1283, '330203', '330200', '海曙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1284, '330204', '330200', '江东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1285, '330205', '330200', '江北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1286, '330206', '330200', '北仑区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1287, '330211', '330200', '镇海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1288, '330212', '330200', '鄞州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1289, '330225', '330200', '象山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1290, '330226', '330200', '宁海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1291, '330281', '330200', '余姚市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1292, '330282', '330200', '慈溪市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1293, '330283', '330200', '奉化市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1294, '330284', '330200', '国家高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1295, '330302', '330300', '鹿城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1296, '330303', '330300', '龙湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1297, '330304', '330300', '瓯海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1298, '330322', '330300', '洞头县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1299, '330324', '330300', '永嘉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1300, '330326', '330300', '平阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1301, '330327', '330300', '苍南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1302, '330328', '330300', '文成县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1303, '330329', '330300', '泰顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1304, '330381', '330300', '瑞安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1305, '330382', '330300', '乐清市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1306, '330411', '330400', '秀洲区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1307, '330421', '330400', '嘉善县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1308, '330424', '330400', '海盐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1309, '330481', '330400', '海宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1310, '330482', '330400', '平湖市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1311, '330483', '330400', '桐乡市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1312, '331198', '330400', '南湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1313, '330502', '330500', '吴兴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1314, '330503', '330500', '南浔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1315, '330521', '330500', '德清县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1316, '330522', '330500', '长兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1317, '330523', '330500', '安吉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1318, '330602', '330600', '越城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1319, '330603', '330600', '柯桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1320, '330621', '330600', '绍兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1321, '330624', '330600', '新昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1322, '330681', '330600', '诸暨市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1323, '330682', '330600', '上虞区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1324, '330683', '330600', '嵊州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1325, '330702', '330700', '婺城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1326, '330703', '330700', '金东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1327, '330723', '330700', '武义县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1328, '330726', '330700', '浦江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1329, '330727', '330700', '磐安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1330, '330781', '330700', '兰溪市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1331, '330782', '330700', '义乌市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1332, '330783', '330700', '东阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1333, '330784', '330700', '永康市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1334, '330802', '330800', '柯城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1335, '330803', '330800', '衢江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1336, '330822', '330800', '常山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1337, '330824', '330800', '开化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1338, '330825', '330800', '龙游县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1339, '330881', '330800', '江山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1340, '330902', '330900', '定海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1341, '330903', '330900', '普陀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1342, '330921', '330900', '岱山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1343, '330922', '330900', '嵊泗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1344, '331002', '331000', '椒江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1345, '331003', '331000', '路桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1346, '331004', '331000', '黄岩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1347, '331021', '331000', '玉环县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1348, '331022', '331000', '三门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1349, '331023', '331000', '天台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1350, '331024', '331000', '仙居县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1351, '331081', '331000', '温岭市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1352, '331082', '331000', '临海市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1353, '331102', '331100', '莲都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1354, '331121', '331100', '青田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1355, '331122', '331100', '缙云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1356, '331123', '331100', '遂昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1357, '331124', '331100', '松阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1358, '331125', '331100', '云和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1359, '331126', '331100', '庆元县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1360, '331127', '331100', '景宁畲族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1361, '331181', '331100', '龙泉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1362, '340102', '340100', '瑶海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1363, '340103', '340100', '庐阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1364, '340104', '340100', '蜀山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1365, '340111', '340100', '包河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1366, '340121', '340100', '长丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1367, '340122', '340100', '肥东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1368, '340123', '340100', '肥西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1369, '340124', '340100', '庐江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1370, '340181', '340100', '巢湖市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1371, '341913', '340100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1372, '341914', '340100', '新站试验区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1373, '341915', '340100', '政务文化新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1374, '341916', '340100', '高新技术产业开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1375, '340202', '340200', '镜湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1376, '340207', '340200', '鸠江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1377, '340221', '340200', '芜湖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1378, '340222', '340200', '繁昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1379, '340223', '340200', '南陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1380, '340225', '340200', '无为县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1381, '341908', '340200', '弋江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1382, '341910', '340200', '三山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1383, '340302', '340300', '龙子湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1384, '340303', '340300', '蚌山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1385, '340304', '340300', '禹会区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1386, '340305', '340300', '高新技术产业开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1387, '340311', '340300', '淮上区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1388, '340321', '340300', '怀远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1389, '340322', '340300', '五河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1390, '340323', '340300', '固镇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1391, '340402', '340400', '大通区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1392, '340403', '340400', '田家庵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1393, '340404', '340400', '谢家集区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1394, '340405', '340400', '八公山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1395, '340406', '340400', '潘集区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1396, '340421', '340400', '凤台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1397, '340502', '340500', '雨山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1398, '340503', '340500', '花山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1399, '340504', '340500', '金家庄区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1400, '340505', '340500', '含山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1401, '340506', '340500', '博望区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1402, '340521', '340500', '当涂县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1403, '340522', '340500', '含山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1404, '340523', '340500', '和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1405, '341909', '340500', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1406, '340602', '340600', '杜集区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1407, '340603', '340600', '相山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1408, '340604', '340600', '烈山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1409, '340621', '340600', '濉溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1410, '340702', '340700', '铜官山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1411, '340703', '340700', '狮子山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1412, '340711', '340700', '郊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1413, '340721', '340700', '铜陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1414, '340802', '340800', '迎江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1415, '340803', '340800', '大观区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1416, '340822', '340800', '怀宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1417, '340823', '340800', '枞阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1418, '340824', '340800', '潜山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1419, '340825', '340800', '太湖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1420, '340826', '340800', '宿松县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1421, '340827', '340800', '望江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1422, '340828', '340800', '岳西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1423, '340881', '340800', '桐城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1424, '341911', '340800', '宜秀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1425, '341002', '341000', '屯溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1426, '341003', '341000', '黄山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1427, '341004', '341000', '徽州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1428, '341021', '341000', '歙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1429, '341022', '341000', '休宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1430, '341023', '341000', '黟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1431, '341024', '341000', '祁门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1432, '341102', '341100', '琅琊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1433, '341103', '341100', '南谯区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1434, '341122', '341100', '来安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1435, '341124', '341100', '全椒县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1436, '341125', '341100', '定远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1437, '341126', '341100', '凤阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1438, '341181', '341100', '天长市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1439, '341182', '341100', '明光市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1440, '341202', '341200', '颍州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1441, '341203', '341200', '颍东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1442, '341204', '341200', '颍泉区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1443, '341221', '341200', '临泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1444, '341222', '341200', '太和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1445, '341225', '341200', '阜南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1446, '341226', '341200', '颍上县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1447, '341282', '341200', '界首市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1448, '341912', '341200', '经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1449, '341302', '341300', '埇桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1450, '341321', '341300', '砀山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1451, '341322', '341300', '萧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1452, '341323', '341300', '灵璧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1453, '341324', '341300', '泗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1454, '341402', '341400', '居巢区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1455, '341421', '341400', '庐江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1456, '341422', '341400', '无为县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1457, '341423', '341400', '含山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1458, '341424', '341400', '和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1459, '341502', '341500', '金安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1460, '341503', '341500', '裕安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1461, '341504', '341500', '叶集试验区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1462, '341521', '341500', '寿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1463, '341522', '341500', '霍邱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1464, '341523', '341500', '舒城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1465, '341524', '341500', '金寨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1466, '341525', '341500', '霍山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1467, '341602', '341600', '谯城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1468, '341621', '341600', '涡阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1469, '341622', '341600', '蒙城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1470, '341623', '341600', '利辛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1471, '341702', '341700', '贵池区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1472, '341721', '341700', '东至县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1473, '341722', '341700', '石台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1474, '341723', '341700', '青阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1475, '341802', '341800', '宣州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1476, '341821', '341800', '郎溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1477, '341822', '341800', '广德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1478, '341823', '341800', '泾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1479, '341824', '341800', '绩溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1480, '341825', '341800', '旌德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1481, '341881', '341800', '宁国市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1482, '350102', '350100', '鼓楼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1483, '350103', '350100', '台江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1484, '350104', '350100', '仓山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1485, '350105', '350100', '马尾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1486, '350111', '350100', '晋安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1487, '350121', '350100', '闽侯县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1488, '350122', '350100', '连江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1489, '350123', '350100', '罗源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1490, '350124', '350100', '闽清县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1491, '350125', '350100', '永泰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1492, '350128', '350100', '平潭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1493, '350181', '350100', '福清市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1494, '350182', '350100', '长乐市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1495, '350203', '350200', '思明区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1496, '350205', '350200', '海沧区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1497, '350206', '350200', '湖里区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1498, '350211', '350200', '集美区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1499, '350212', '350200', '同安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1500, '350213', '350200', '翔安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1501, '350983', '350200', '鼓浪屿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1502, '350999', '350200', '象屿保税区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1503, '351000', '350200', '火炬高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1504, '350302', '350300', '城厢区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1505, '350303', '350300', '涵江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1506, '350304', '350300', '荔城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1507, '350305', '350300', '秀屿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1508, '350322', '350300', '仙游县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1509, '350402', '350400', '梅列区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1510, '350403', '350400', '三元区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1511, '350421', '350400', '明溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1512, '350423', '350400', '清流县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1513, '350424', '350400', '宁化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1514, '350425', '350400', '大田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1515, '350426', '350400', '尤溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1516, '350427', '350400', '沙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1517, '350428', '350400', '将乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1518, '350429', '350400', '泰宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1519, '350430', '350400', '建宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1520, '350481', '350400', '永安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1521, '350502', '350500', '鲤城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1522, '350503', '350500', '丰泽区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1523, '350504', '350500', '洛江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1524, '350505', '350500', '泉港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1525, '350521', '350500', '惠安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1526, '350524', '350500', '安溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1527, '350525', '350500', '永春县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1528, '350526', '350500', '德化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1529, '350527', '350500', '金门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1530, '350581', '350500', '石狮市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1531, '350582', '350500', '晋江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1532, '350583', '350500', '南安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1533, '351001', '350500', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1534, '350602', '350600', '芗城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1535, '350603', '350600', '龙文区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1536, '350622', '350600', '云霄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1537, '350623', '350600', '漳浦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1538, '350624', '350600', '诏安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1539, '350625', '350600', '长泰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1540, '350626', '350600', '东山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1541, '350627', '350600', '南靖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1542, '350628', '350600', '平和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1543, '350629', '350600', '华安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1544, '350681', '350600', '龙海市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1545, '350702', '350700', '延平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1546, '350721', '350700', '顺昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1547, '350722', '350700', '浦城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1548, '350723', '350700', '光泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1549, '350724', '350700', '松溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1550, '350725', '350700', '政和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1551, '350781', '350700', '邵武市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1552, '350782', '350700', '武夷山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1553, '350783', '350700', '建瓯市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1554, '350784', '350700', '建阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1555, '350802', '350800', '新罗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1556, '350821', '350800', '长汀县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1557, '350822', '350800', '永定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1558, '350823', '350800', '上杭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1559, '350824', '350800', '武平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1560, '350825', '350800', '连城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1561, '350881', '350800', '漳平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1562, '350902', '350900', '蕉城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1563, '350921', '350900', '霞浦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1564, '350922', '350900', '古田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1565, '350923', '350900', '屏南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1566, '350924', '350900', '寿宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1567, '350925', '350900', '周宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1568, '350926', '350900', '柘荣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1569, '350981', '350900', '福安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1570, '350982', '350900', '福鼎市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1571, '360102', '360100', '东湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1572, '360103', '360100', '西湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1573, '360104', '360100', '青云谱区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1574, '360105', '360100', '湾里区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1575, '360106', '360100', '昌北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1576, '360111', '360100', '青山湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1577, '360121', '360100', '南昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1578, '360122', '360100', '新建县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1579, '360123', '360100', '安义县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1580, '360124', '360100', '进贤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1581, '361195', '360100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1582, '361196', '360100', '红谷滩新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1583, '361197', '360100', '高新技术产业开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1584, '361198', '360100', '桑海经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1585, '361199', '360100', '英雄经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1586, '360202', '360200', '昌江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1587, '360203', '360200', '珠山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1588, '360222', '360200', '浮梁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1589, '360281', '360200', '乐平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1590, '360302', '360300', '安源区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1591, '360313', '360300', '湘东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1592, '360321', '360300', '莲花县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1593, '360322', '360300', '上栗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1594, '360323', '360300', '芦溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1595, '360402', '360400', '庐山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1596, '360403', '360400', '浔阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1597, '360421', '360400', '九江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1598, '360423', '360400', '武宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1599, '360424', '360400', '修水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1600, '360425', '360400', '永修县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1601, '360426', '360400', '德安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1602, '360427', '360400', '星子县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1603, '360428', '360400', '都昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1604, '360429', '360400', '湖口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1605, '360430', '360400', '彭泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1606, '360481', '360400', '瑞昌市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1607, '361200', '360400', '共青城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1608, '360502', '360500', '渝水区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1609, '360521', '360500', '分宜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1610, '360602', '360600', '月湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1611, '360622', '360600', '余江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1612, '360681', '360600', '贵溪市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1613, '360702', '360700', '章贡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1614, '360721', '360700', '赣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1615, '360722', '360700', '信丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1616, '360723', '360700', '大余县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1617, '360724', '360700', '上犹县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1618, '360725', '360700', '崇义县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1619, '360726', '360700', '安远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1620, '360727', '360700', '龙南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1621, '360728', '360700', '定南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1622, '360729', '360700', '全南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1623, '360730', '360700', '宁都县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1624, '360731', '360700', '于都县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1625, '360732', '360700', '兴国县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1626, '360733', '360700', '会昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1627, '360734', '360700', '寻乌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1628, '360735', '360700', '石城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1629, '360781', '360700', '瑞金市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1630, '360782', '360700', '南康区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1631, '360783', '360700', '黄金经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1632, '360802', '360800', '吉州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1633, '360803', '360800', '青原区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1634, '360821', '360800', '吉安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1635, '360822', '360800', '吉水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1636, '360823', '360800', '峡江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1637, '360824', '360800', '新干县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1638, '360825', '360800', '永丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1639, '360826', '360800', '泰和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1640, '360827', '360800', '遂川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1641, '360828', '360800', '万安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1642, '360829', '360800', '安福县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1643, '360830', '360800', '永新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1644, '360881', '360800', '井冈山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1645, '360902', '360900', '袁州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1646, '360921', '360900', '奉新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1647, '360922', '360900', '万载县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1648, '360923', '360900', '上高县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1649, '360924', '360900', '宜丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1650, '360925', '360900', '靖安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1651, '360926', '360900', '铜鼓县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1652, '360981', '360900', '丰城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1653, '360982', '360900', '樟树市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1654, '360983', '360900', '高安市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1655, '361002', '361000', '临川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1656, '361021', '361000', '南城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1657, '361022', '361000', '黎川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1658, '361023', '361000', '南丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1659, '361024', '361000', '崇仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1660, '361025', '361000', '乐安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1661, '361026', '361000', '宜黄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1662, '361027', '361000', '金溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1663, '361028', '361000', '资溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1664, '361029', '361000', '东乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1665, '361030', '361000', '广昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1666, '361102', '361100', '信州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1667, '361121', '361100', '上饶县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1668, '361122', '361100', '广丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1669, '361123', '361100', '玉山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1670, '361124', '361100', '铅山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1671, '361125', '361100', '横峰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1672, '361126', '361100', '弋阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1673, '361127', '361100', '余干县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1674, '361128', '361100', '鄱阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1675, '361129', '361100', '万年县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1676, '361130', '361100', '婺源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1677, '361181', '361100', '德兴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1678, '370102', '370100', '历下区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1679, '370103', '370100', '市中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1680, '370104', '370100', '槐荫区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1681, '370105', '370100', '天桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1682, '370112', '370100', '历城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1683, '370113', '370100', '长清区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1684, '370124', '370100', '平阴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1685, '370125', '370100', '济阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1686, '370126', '370100', '商河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1687, '370181', '370100', '章丘市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1688, '371763', '370100', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1689, '371764', '370100', '经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1690, '370202', '370200', '市南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1691, '370203', '370200', '市北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1692, '370205', '370200', '四方区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1693, '370211', '370200', '黄岛区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1694, '370212', '370200', '崂山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1695, '370213', '370200', '李沧区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1696, '370214', '370200', '城阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1697, '370215', '370200', '开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1698, '370281', '370200', '胶州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1699, '370282', '370200', '即墨市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1700, '370283', '370200', '平度市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1701, '370284', '370200', '胶南市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1702, '370285', '370200', '莱西市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1703, '370302', '370300', '淄川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1704, '370303', '370300', '张店区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1705, '370304', '370300', '博山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1706, '370305', '370300', '临淄区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1707, '370306', '370300', '周村区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1708, '370321', '370300', '桓台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1709, '370322', '370300', '高青县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1710, '370323', '370300', '沂源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1711, '371762', '370300', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1712, '370402', '370400', '市中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1713, '370403', '370400', '薛城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1714, '370404', '370400', '峄城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1715, '370405', '370400', '台儿庄区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1716, '370406', '370400', '山亭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1717, '370481', '370400', '滕州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1718, '370502', '370500', '东营区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1719, '370503', '370500', '河口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1720, '370521', '370500', '垦利县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1721, '370522', '370500', '利津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1722, '370523', '370500', '广饶县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1723, '370524', '370500', '西城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1724, '370525', '370500', '东城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1725, '370602', '370600', '芝罘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1726, '370611', '370600', '福山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1727, '370612', '370600', '牟平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1728, '370613', '370600', '莱山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1729, '370634', '370600', '长岛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1730, '370681', '370600', '龙口市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1731, '370682', '370600', '莱阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1732, '370683', '370600', '莱州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1733, '370684', '370600', '蓬莱市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1734, '370685', '370600', '招远市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1735, '370686', '370600', '栖霞市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1736, '370687', '370600', '海阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1737, '371730', '370600', '开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1738, '370702', '370700', '潍城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1739, '370703', '370700', '寒亭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1740, '370704', '370700', '坊子区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1741, '370705', '370700', '奎文区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1742, '370724', '370700', '临朐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1743, '370725', '370700', '昌乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1744, '370781', '370700', '青州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1745, '370782', '370700', '诸城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1746, '370783', '370700', '寿光市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1747, '370784', '370700', '安丘市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1748, '370785', '370700', '高密市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1749, '370786', '370700', '昌邑市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1750, '371731', '370700', '经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1751, '371759', '370700', '滨海经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1752, '371760', '370700', '高新技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1753, '371761', '370700', '出口加工区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1754, '370802', '370800', '市中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1755, '370811', '370800', '任城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1756, '370826', '370800', '微山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1757, '370827', '370800', '鱼台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1758, '370828', '370800', '金乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1759, '370829', '370800', '嘉祥县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1760, '370830', '370800', '汶上县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1761, '370831', '370800', '泗水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1762, '370832', '370800', '梁山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1763, '370881', '370800', '曲阜市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1764, '370882', '370800', '兖州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1765, '370883', '370800', '邹城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1766, '370902', '370900', '泰山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1767, '370903', '370900', '岱岳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1768, '370921', '370900', '宁阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1769, '370923', '370900', '东平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1770, '370982', '370900', '新泰市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1771, '370983', '370900', '肥城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1772, '371002', '371000', '环翠区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1773, '371081', '371000', '文登市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1774, '371082', '371000', '荣成市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1775, '371083', '371000', '乳山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1776, '371733', '371000', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1777, '371734', '371000', '高技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1778, '371102', '371100', '东港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1779, '371103', '371100', '岚山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1780, '371121', '371100', '五莲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1781, '371122', '371100', '莒县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1782, '371202', '371200', '莱城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1783, '371203', '371200', '钢城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1784, '371302', '371300', '兰山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1785, '371311', '371300', '罗庄区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1786, '371312', '371300', '河东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1787, '371321', '371300', '沂南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1788, '371322', '371300', '郯城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1789, '371323', '371300', '沂水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1790, '371324', '371300', '苍山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1791, '371325', '371300', '费县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1792, '371326', '371300', '平邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1793, '371327', '371300', '莒南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1794, '371328', '371300', '蒙阴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1795, '371329', '371300', '临沭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1796, '371402', '371400', '德城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1797, '371421', '371400', '陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1798, '371422', '371400', '宁津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1799, '371423', '371400', '庆云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1800, '371424', '371400', '临邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1801, '371425', '371400', '齐河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1802, '371426', '371400', '平原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1803, '371427', '371400', '夏津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1804, '371428', '371400', '武城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1805, '371481', '371400', '乐陵市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1806, '371482', '371400', '禹城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1807, '371483', '371400', '开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1808, '371502', '371500', '东昌府区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1809, '371521', '371500', '阳谷县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1810, '371522', '371500', '莘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1811, '371523', '371500', '茌平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1812, '371524', '371500', '东阿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1813, '371525', '371500', '冠县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1814, '371526', '371500', '高唐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1815, '371581', '371500', '临清市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1816, '371602', '371600', '滨城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1817, '371621', '371600', '惠民县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1818, '371622', '371600', '阳信县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1819, '371623', '371600', '无棣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1820, '371624', '371600', '沾化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1821, '371625', '371600', '博兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1822, '371626', '371600', '邹平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1823, '371702', '371700', '牡丹区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1824, '371721', '371700', '曹县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1825, '371722', '371700', '单县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1826, '371723', '371700', '成武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1827, '371724', '371700', '巨野县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1828, '371725', '371700', '郓城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1829, '371726', '371700', '鄄城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1830, '371727', '371700', '定陶县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1831, '371728', '371700', '东明县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1832, '410102', '410100', '中原区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1833, '410103', '410100', '二七区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1834, '410104', '410100', '管城回族区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1835, '410105', '410100', '金水区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1836, '410106', '410100', '上街区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1837, '410122', '410100', '中牟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1838, '410181', '410100', '巩义市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1839, '410182', '410100', '荥阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1840, '410183', '410100', '新密市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1841, '410184', '410100', '新郑市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1842, '410185', '410100', '登封市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1843, '411733', '410100', '高新技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1844, '411755', '410100', '惠济区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1845, '411756', '410100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1846, '411757', '410100', '郑东新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1847, '411758', '410100', '出口加工区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1848, '410202', '410200', '龙亭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1849, '410203', '410200', '顺河回族区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1850, '410204', '410200', '鼓楼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1851, '410221', '410200', '杞县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1852, '410222', '410200', '通许县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1853, '410223', '410200', '尉氏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1854, '410224', '410200', '开封县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1855, '410225', '410200', '兰考县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1856, '411752', '410200', '金明区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1857, '411753', '410200', '禹王台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1858, '410302', '410300', '老城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1859, '410303', '410300', '西工区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1860, '410304', '410300', '瀍河回族区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1861, '410305', '410300', '涧西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1862, '410306', '410300', '吉利区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1863, '410307', '410300', '洛龙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1864, '410322', '410300', '孟津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1865, '410323', '410300', '新安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1866, '410324', '410300', '栾川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1867, '410325', '410300', '嵩县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1868, '410326', '410300', '汝阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1869, '410327', '410300', '宜阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1870, '410328', '410300', '洛宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1871, '410329', '410300', '伊川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1872, '410381', '410300', '偃师市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1873, '411754', '410300', '高新技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1874, '411759', '410300', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1875, '410402', '410400', '新华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1876, '410403', '410400', '卫东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1877, '410404', '410400', '石龙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1878, '410411', '410400', '湛河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1879, '410421', '410400', '宝丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1880, '410422', '410400', '叶县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1881, '410423', '410400', '鲁山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1882, '410425', '410400', '郏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1883, '410481', '410400', '舞钢市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1884, '410482', '410400', '汝州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1885, '410502', '410500', '文峰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1886, '410503', '410500', '北关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1887, '410505', '410500', '殷都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1888, '410506', '410500', '龙安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1889, '410522', '410500', '安阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1890, '410523', '410500', '汤阴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1891, '410526', '410500', '滑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1892, '410527', '410500', '内黄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1893, '410581', '410500', '林州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1894, '410602', '410600', '鹤山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1895, '410603', '410600', '山城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1896, '410611', '410600', '淇滨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1897, '410621', '410600', '浚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1898, '410622', '410600', '淇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1899, '410702', '410700', '红旗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1900, '410703', '410700', '卫滨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1901, '410704', '410700', '凤泉区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1902, '410711', '410700', '牧野区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1903, '410721', '410700', '新乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1904, '410724', '410700', '获嘉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1905, '410725', '410700', '原阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1906, '410726', '410700', '延津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1907, '410727', '410700', '封丘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1908, '410728', '410700', '长垣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1909, '410781', '410700', '卫辉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1910, '410782', '410700', '辉县市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1911, '410802', '410800', '解放区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1912, '410803', '410800', '中站区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1913, '410804', '410800', '马村区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1914, '410811', '410800', '山阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1915, '410821', '410800', '修武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1916, '410822', '410800', '博爱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1917, '410823', '410800', '武陟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1918, '410825', '410800', '温县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1919, '410882', '410800', '沁阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1920, '410883', '410800', '孟州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1921, '410881', '411900', '济源市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1922, '410902', '410900', '华龙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1923, '410922', '410900', '清丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1924, '410923', '410900', '南乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1925, '410926', '410900', '范县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1926, '410927', '410900', '台前县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1927, '410928', '410900', '濮阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1928, '411002', '411000', '魏都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1929, '411023', '411000', '许昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1930, '411024', '411000', '鄢陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1931, '411025', '411000', '襄城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1932, '411081', '411000', '禹州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1933, '411082', '411000', '长葛市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1934, '411102', '411100', '源汇区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1935, '411103', '411100', '郾城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1936, '411104', '411100', '召陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1937, '411121', '411100', '舞阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1938, '411122', '411100', '临颍县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1939, '411202', '411200', '湖滨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1940, '411221', '411200', '渑池县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1941, '411222', '411200', '陕县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1942, '411224', '411200', '卢氏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1943, '411281', '411200', '义马市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1944, '411282', '411200', '灵宝市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1945, '411302', '411300', '宛城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1946, '411303', '411300', '卧龙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1947, '411321', '411300', '南召县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1948, '411322', '411300', '方城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1949, '411323', '411300', '西峡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1950, '411324', '411300', '镇平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1951, '411325', '411300', '内乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1952, '411326', '411300', '淅川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1953, '411327', '411300', '社旗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1954, '411328', '411300', '唐河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1955, '411329', '411300', '新野县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1956, '411330', '411300', '桐柏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1957, '411381', '411300', '邓州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1958, '411402', '411400', '梁园区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1959, '411403', '411400', '睢阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1960, '411421', '411400', '民权县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1961, '411422', '411400', '睢县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1962, '411423', '411400', '宁陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1963, '411424', '411400', '柘城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1964, '411425', '411400', '虞城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1965, '411426', '411400', '夏邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1966, '411481', '411400', '永城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1967, '411502', '411500', '浉河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1968, '411503', '411500', '平桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1969, '411521', '411500', '罗山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1970, '411522', '411500', '光山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1971, '411523', '411500', '新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1972, '411524', '411500', '商城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1973, '411525', '411500', '固始县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1974, '411526', '411500', '潢川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1975, '411527', '411500', '淮滨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1976, '411528', '411500', '息县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1977, '411602', '411600', '川汇区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1978, '411621', '411600', '扶沟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1979, '411622', '411600', '西华县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1980, '411623', '411600', '商水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1981, '411624', '411600', '沈丘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1982, '411625', '411600', '郸城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1983, '411626', '411600', '淮阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1984, '411627', '411600', '太康县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1985, '411628', '411600', '鹿邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1986, '411681', '411600', '项城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (1987, '411702', '411700', '驿城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1988, '411721', '411700', '西平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1989, '411722', '411700', '上蔡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1990, '411723', '411700', '平舆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1991, '411724', '411700', '正阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1992, '411725', '411700', '确山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1993, '411726', '411700', '泌阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1994, '411727', '411700', '汝南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1995, '411728', '411700', '遂平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1996, '411729', '411700', '新蔡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (1997, '420102', '420100', '江岸区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1998, '420103', '420100', '江汉区', 3);
+INSERT INTO `yee_pay_areas` VALUES (1999, '420104', '420100', '硚口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2000, '420105', '420100', '汉阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2001, '420106', '420100', '武昌区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2002, '420107', '420100', '青山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2003, '420111', '420100', '洪山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2004, '420112', '420100', '东西湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2005, '420113', '420100', '汉南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2006, '420114', '420100', '蔡甸区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2007, '420115', '420100', '江夏区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2008, '420116', '420100', '黄陂区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2009, '420117', '420100', '新洲区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2010, '420202', '420200', '黄石港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2011, '420203', '420200', '西塞山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2012, '420204', '420200', '下陆区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2013, '420205', '420200', '铁山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2014, '420222', '420200', '阳新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2015, '420281', '420200', '大冶市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2016, '420302', '420300', '茅箭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2017, '420303', '420300', '张湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2018, '420321', '420300', '郧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2019, '420322', '420300', '郧西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2020, '420323', '420300', '竹山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2021, '420324', '420300', '竹溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2022, '420325', '420300', '房县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2023, '420381', '420300', '丹江口市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2024, '420502', '420500', '西陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2025, '420503', '420500', '伍家岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2026, '420504', '420500', '点军区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2027, '420505', '420500', '猇亭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2028, '420506', '420500', '夷陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2029, '420525', '420500', '远安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2030, '420526', '420500', '兴山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2031, '420527', '420500', '秭归县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2032, '420528', '420500', '长阳土家族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2033, '420529', '420500', '五峰土家族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2034, '420581', '420500', '宜都市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2035, '420582', '420500', '当阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2036, '420583', '420500', '枝江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2037, '429038', '420500', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2038, '420602', '420600', '襄城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2039, '420603', '420600', '襄州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2040, '420606', '420600', '樊城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2041, '420607', '420600', '襄阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2042, '420624', '420600', '南漳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2043, '420625', '420600', '谷城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2044, '420626', '420600', '保康县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2045, '420682', '420600', '老河口市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2046, '420683', '420600', '枣阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2047, '420684', '420600', '宜城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2048, '420702', '420700', '梁子湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2049, '420703', '420700', '华容区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2050, '420704', '420700', '鄂城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2051, '420802', '420800', '东宝区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2052, '420804', '420800', '掇刀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2053, '420821', '420800', '京山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2054, '420822', '420800', '沙洋县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2055, '420881', '420800', '钟祥市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2056, '420902', '420900', '孝南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2057, '420921', '420900', '孝昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2058, '420922', '420900', '大悟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2059, '420923', '420900', '云梦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2060, '420981', '420900', '应城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2061, '420982', '420900', '安陆市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2062, '420984', '420900', '汉川市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2063, '421002', '421000', '沙市区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2064, '421003', '421000', '荆州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2065, '421022', '421000', '公安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2066, '421023', '421000', '监利县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2067, '421024', '421000', '江陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2068, '421081', '421000', '石首市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2069, '421083', '421000', '洪湖市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2070, '421087', '421000', '松滋市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2071, '421102', '421100', '黄州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2072, '421121', '421100', '团风县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2073, '421122', '421100', '红安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2074, '421123', '421100', '罗田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2075, '421124', '421100', '英山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2076, '421125', '421100', '浠水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2077, '421126', '421100', '蕲春县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2078, '421127', '421100', '黄梅县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2079, '421181', '421100', '麻城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2080, '421182', '421100', '武穴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2081, '421202', '421200', '咸安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2082, '421221', '421200', '嘉鱼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2083, '421222', '421200', '通城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2084, '421223', '421200', '崇阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2085, '421224', '421200', '通山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2086, '421281', '421200', '赤壁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2087, '421302', '421300', '曾都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2088, '421303', '421300', '随县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2089, '421381', '421300', '广水市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2090, '422801', '422800', '恩施市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2091, '422802', '422800', '利川市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2092, '422822', '422800', '建始县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2093, '422823', '422800', '巴东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2094, '422825', '422800', '宣恩县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2095, '422826', '422800', '咸丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2096, '422827', '422800', '来凤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2097, '422828', '422800', '鹤峰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2098, '429004', '429000', '仙桃市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2099, '429005', '429000', '潜江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2100, '429006', '429000', '天门市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2101, '429021', '429000', '神农架林区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2102, '430102', '430100', '芙蓉区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2103, '430103', '430100', '天心区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2104, '430104', '430100', '岳麓区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2105, '430105', '430100', '开福区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2106, '430111', '430100', '雨花区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2107, '430112', '430100', '望城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2108, '430121', '430100', '长沙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2109, '430122', '430100', '望城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2110, '430124', '430100', '宁乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2111, '430181', '430100', '浏阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2112, '430202', '430200', '荷塘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2113, '430203', '430200', '芦淞区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2114, '430204', '430200', '石峰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2115, '430211', '430200', '天元区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2116, '430221', '430200', '株洲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2117, '430223', '430200', '攸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2118, '430224', '430200', '茶陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2119, '430225', '430200', '炎陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2120, '430281', '430200', '醴陵市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2121, '430302', '430300', '雨湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2122, '430304', '430300', '岳塘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2123, '430321', '430300', '湘潭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2124, '430381', '430300', '湘乡市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2125, '430382', '430300', '韶山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2126, '430405', '430400', '珠晖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2127, '430406', '430400', '雁峰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2128, '430407', '430400', '石鼓区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2129, '430408', '430400', '蒸湘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2130, '430412', '430400', '南岳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2131, '430421', '430400', '衡阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2132, '430422', '430400', '衡南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2133, '430423', '430400', '衡山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2134, '430424', '430400', '衡东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2135, '430426', '430400', '祁东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2136, '430481', '430400', '耒阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2137, '430482', '430400', '常宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2138, '430502', '430500', '双清区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2139, '430503', '430500', '大祥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2140, '430511', '430500', '北塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2141, '430521', '430500', '邵东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2142, '430522', '430500', '新邵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2143, '430523', '430500', '邵阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2144, '430524', '430500', '隆回县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2145, '430525', '430500', '洞口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2146, '430527', '430500', '绥宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2147, '430528', '430500', '新宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2148, '430529', '430500', '城步苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2149, '430581', '430500', '武冈市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2150, '430602', '430600', '岳阳楼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2151, '430603', '430600', '云溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2152, '430611', '430600', '君山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2153, '430621', '430600', '岳阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2154, '430623', '430600', '华容县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2155, '430624', '430600', '湘阴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2156, '430626', '430600', '平江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2157, '430681', '430600', '汨罗市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2158, '430682', '430600', '临湘市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2159, '430702', '430700', '武陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2160, '430703', '430700', '鼎城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2161, '430721', '430700', '安乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2162, '430722', '430700', '汉寿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2163, '430723', '430700', '澧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2164, '430724', '430700', '临澧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2165, '430725', '430700', '桃源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2166, '430726', '430700', '石门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2167, '430781', '430700', '津市市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2168, '430802', '430800', '永定区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2169, '430811', '430800', '武陵源区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2170, '430821', '430800', '慈利县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2171, '430822', '430800', '桑植县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2172, '430902', '430900', '资阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2173, '430903', '430900', '赫山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2174, '430921', '430900', '南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2175, '430922', '430900', '桃江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2176, '430923', '430900', '安化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2177, '430981', '430900', '沅江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2178, '431002', '431000', '北湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2179, '431003', '431000', '苏仙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2180, '431021', '431000', '桂阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2181, '431022', '431000', '宜章县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2182, '431023', '431000', '永兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2183, '431024', '431000', '嘉禾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2184, '431025', '431000', '临武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2185, '431026', '431000', '汝城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2186, '431027', '431000', '桂东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2187, '431028', '431000', '安仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2188, '431081', '431000', '资兴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2189, '431103', '431100', '冷水滩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2190, '431121', '431100', '祁阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2191, '431122', '431100', '东安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2192, '431123', '431100', '双牌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2193, '431124', '431100', '道县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2194, '431125', '431100', '江永县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2195, '431126', '431100', '宁远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2196, '431127', '431100', '蓝山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2197, '431128', '431100', '新田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2198, '431129', '431100', '江华瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2199, '433147', '431100', '零陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2200, '431202', '431200', '鹤城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2201, '431221', '431200', '中方县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2202, '431222', '431200', '沅陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2203, '431223', '431200', '辰溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2204, '431224', '431200', '溆浦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2205, '431225', '431200', '会同县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2206, '431226', '431200', '麻阳苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2207, '431227', '431200', '新晃侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2208, '431228', '431200', '芷江侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2209, '431229', '431200', '靖州苗族侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2210, '431230', '431200', '通道侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2211, '431281', '431200', '洪江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2212, '431302', '431300', '娄星区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2213, '431321', '431300', '双峰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2214, '431322', '431300', '新化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2215, '431381', '431300', '冷水江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2216, '431382', '431300', '涟源市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2217, '433101', '433100', '吉首市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2218, '433122', '433100', '泸溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2219, '433123', '433100', '凤凰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2220, '433124', '433100', '花垣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2221, '433125', '433100', '保靖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2222, '433126', '433100', '古丈县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2223, '433127', '433100', '永顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2224, '433130', '433100', '龙山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2225, '440103', '440100', '荔湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2226, '440104', '440100', '越秀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2227, '440105', '440100', '海珠区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2228, '440106', '440100', '天河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2229, '440111', '440100', '白云区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2230, '440112', '440100', '黄埔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2231, '440113', '440100', '番禺区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2232, '440114', '440100', '花都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2233, '440183', '440100', '增城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2234, '440184', '440100', '从化市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2235, '445426', '440100', '南沙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2236, '445427', '440100', '萝岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2237, '440203', '440200', '武江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2238, '440204', '440200', '浈江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2239, '440205', '440200', '曲江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2240, '440222', '440200', '始兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2241, '440224', '440200', '仁化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2242, '440229', '440200', '翁源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2243, '440232', '440200', '乳源瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2244, '440233', '440200', '新丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2245, '440281', '440200', '乐昌市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2246, '440282', '440200', '南雄市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2247, '440303', '440300', '罗湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2248, '440304', '440300', '福田区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2249, '440305', '440300', '南山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2250, '440306', '440300', '宝安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2251, '440307', '440300', '龙岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2252, '440308', '440300', '盐田区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2253, '445436', '440300', '光明新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2254, '445437', '440300', '坪山新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2255, '440402', '440400', '香洲区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2256, '440403', '440400', '斗门区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2257, '440404', '440400', '金湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2258, '440507', '440500', '龙湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2259, '440511', '440500', '金平区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2260, '440512', '440500', '濠江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2261, '440513', '440500', '潮阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2262, '440514', '440500', '潮南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2263, '440515', '440500', '澄海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2264, '440523', '440500', '南澳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2265, '440604', '440600', '禅城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2266, '440605', '440600', '南海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2267, '440606', '440600', '顺德区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2268, '440607', '440600', '三水区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2269, '440608', '440600', '高明区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2270, '440703', '440700', '蓬江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2271, '440704', '440700', '江海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2272, '440705', '440700', '新会区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2273, '440781', '440700', '台山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2274, '440783', '440700', '开平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2275, '440784', '440700', '鹤山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2276, '440785', '440700', '恩平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2277, '440802', '440800', '赤坎区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2278, '440803', '440800', '霞山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2279, '440804', '440800', '坡头区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2280, '440811', '440800', '麻章区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2281, '440823', '440800', '遂溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2282, '440825', '440800', '徐闻县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2283, '440881', '440800', '廉江市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2284, '440882', '440800', '雷州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2285, '440883', '440800', '吴川市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2286, '445395', '440800', '开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2287, '440902', '440900', '茂南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2288, '440903', '440900', '茂港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2289, '440923', '440900', '电白县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2290, '440981', '440900', '高州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2291, '440982', '440900', '化州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2292, '440983', '440900', '信宜市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2293, '441202', '441200', '端州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2294, '441203', '441200', '鼎湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2295, '441223', '441200', '广宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2296, '441224', '441200', '怀集县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2297, '441225', '441200', '封开县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2298, '441226', '441200', '德庆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2299, '441283', '441200', '高要市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2300, '441284', '441200', '四会市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2301, '445435', '441200', '高新技术产业开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2302, '441302', '441300', '惠城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2303, '441303', '441300', '惠阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2304, '441322', '441300', '博罗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2305, '441323', '441300', '惠东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2306, '441324', '441300', '龙门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2307, '445430', '441300', '大亚湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2308, '445431', '441300', '仲恺高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2309, '441402', '441400', '梅江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2310, '441421', '441400', '梅县区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2311, '441422', '441400', '大埔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2312, '441423', '441400', '丰顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2313, '441424', '441400', '五华县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2314, '441426', '441400', '平远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2315, '441427', '441400', '蕉岭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2316, '441481', '441400', '兴宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2317, '441502', '441500', '城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2318, '441521', '441500', '陆丰市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2319, '441523', '441500', '海丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2320, '441581', '441500', '陆河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2321, '441602', '441600', '源城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2322, '441621', '441600', '紫金县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2323, '441622', '441600', '龙川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2324, '441623', '441600', '连平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2325, '441624', '441600', '和平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2326, '441625', '441600', '东源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2327, '441702', '441700', '江城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2328, '441721', '441700', '阳西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2329, '441723', '441700', '阳东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2330, '441781', '441700', '阳春市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2331, '441802', '441800', '清城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2332, '441821', '441800', '佛冈县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2333, '441823', '441800', '阳山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2334, '441825', '441800', '连山壮族瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2335, '441826', '441800', '连南瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2336, '441827', '441800', '清新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2337, '441881', '441800', '英德市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2338, '441882', '441800', '连州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2339, '441999', '441900', '东莞市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2340, '445382', '441900', '南城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2341, '445383', '441900', '石龙镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2342, '445384', '441900', '长安镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2343, '445385', '441900', '虎门镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2344, '445386', '441900', '横沥镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2345, '445387', '441900', '寮步镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2346, '445388', '441900', '黄江镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2347, '445389', '441900', '清溪镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2348, '445438', '441900', '莞城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2349, '445439', '441900', '万江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2350, '445440', '441900', '东城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2351, '445441', '441900', '石碣镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2352, '445442', '441900', '茶山镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2353, '445443', '441900', '石排镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2354, '445444', '441900', '企石镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2355, '445445', '441900', '桥头镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2356, '445446', '441900', '谢岗镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2357, '445447', '441900', '东坑镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2358, '445448', '441900', '常平镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2359, '445449', '441900', '大朗镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2360, '445450', '441900', '塘厦镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2361, '445451', '441900', '凤岗镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2362, '445452', '441900', '厚街镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2363, '445453', '441900', '沙田镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2364, '445454', '441900', '道滘镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2365, '445455', '441900', '洪梅镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2366, '445456', '441900', '麻涌镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2367, '445457', '441900', '中堂镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2368, '445458', '441900', '高埗镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2369, '445459', '441900', '樟木头镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2370, '445460', '441900', '大岭山镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2371, '445461', '441900', '望牛墩镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2372, '445102', '445100', '湘桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2373, '445121', '445100', '潮安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2374, '445122', '445100', '饶平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2375, '445202', '445200', '榕城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2376, '445221', '445200', '揭东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2377, '445222', '445200', '揭西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2378, '445224', '445200', '惠来县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2379, '445281', '445200', '普宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2380, '445432', '445200', '东山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2381, '445433', '445200', '普侨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2382, '445434', '445200', '大南山侨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2383, '445302', '445300', '云城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2384, '445321', '445300', '新兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2385, '445322', '445300', '郁南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2386, '445323', '445300', '云安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2387, '445381', '445300', '罗定市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2388, '445429', '442000', '中山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2389, '450102', '450100', '兴宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2390, '450103', '450100', '青秀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2391, '450105', '450100', '江南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2392, '450107', '450100', '西乡塘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2393, '450108', '450100', '良庆区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2394, '450109', '450100', '邕宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2395, '450122', '450100', '武鸣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2396, '450123', '450100', '隆安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2397, '450124', '450100', '马山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2398, '450125', '450100', '上林县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2399, '450126', '450100', '宾阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2400, '450127', '450100', '横县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2401, '450202', '450200', '城中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2402, '450203', '450200', '鱼峰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2403, '450204', '450200', '柳南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2404, '450205', '450200', '柳北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2405, '450221', '450200', '柳江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2406, '450222', '450200', '柳城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2407, '450223', '450200', '鹿寨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2408, '450224', '450200', '融安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2409, '450225', '450200', '融水苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2410, '450226', '450200', '三江侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2411, '450302', '450300', '秀峰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2412, '450303', '450300', '叠彩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2413, '450304', '450300', '象山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2414, '450305', '450300', '七星区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2415, '450311', '450300', '雁山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2416, '450321', '450300', '阳朔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2417, '450322', '450300', '临桂区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2418, '450323', '450300', '灵川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2419, '450324', '450300', '全州县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2420, '450325', '450300', '兴安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2421, '450326', '450300', '永福县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2422, '450327', '450300', '灌阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2423, '450328', '450300', '龙胜各族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2424, '450329', '450300', '资源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2425, '450330', '450300', '平乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2426, '450331', '450300', '荔浦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2427, '450332', '450300', '恭城瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2428, '450403', '450400', '万秀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2429, '450404', '450400', '蝶山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2430, '450405', '450400', '长洲区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2431, '450406', '450400', '龙圩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2432, '450421', '450400', '苍梧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2433, '450422', '450400', '藤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2434, '450423', '450400', '蒙山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2435, '450481', '450400', '岑溪市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2436, '450502', '450500', '海城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2437, '450503', '450500', '银海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2438, '450512', '450500', '铁山港区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2439, '450521', '450500', '合浦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2440, '450602', '450600', '港口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2441, '450603', '450600', '防城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2442, '450621', '450600', '上思县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2443, '450681', '450600', '东兴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2444, '450702', '450700', '钦南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2445, '450703', '450700', '钦北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2446, '450721', '450700', '灵山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2447, '450722', '450700', '浦北县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2448, '451500', '450700', '钦州港经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2449, '450802', '450800', '港北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2450, '450803', '450800', '港南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2451, '450804', '450800', '覃塘区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2452, '450821', '450800', '平南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2453, '450881', '450800', '桂平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2454, '450902', '450900', '玉州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2455, '450903', '450900', '福绵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2456, '450921', '450900', '容县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2457, '450922', '450900', '陆川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2458, '450923', '450900', '博白县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2459, '450924', '450900', '兴业县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2460, '450981', '450900', '北流市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2461, '451002', '451000', '右江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2462, '451021', '451000', '田阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2463, '451022', '451000', '田东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2464, '451023', '451000', '平果县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2465, '451024', '451000', '德保县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2466, '451025', '451000', '靖西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2467, '451026', '451000', '那坡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2468, '451027', '451000', '凌云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2469, '451028', '451000', '乐业县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2470, '451029', '451000', '田林县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2471, '451030', '451000', '西林县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2472, '451031', '451000', '隆林各族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2473, '451102', '451100', '八步区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2474, '451103', '451100', '平桂管理区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2475, '451121', '451100', '昭平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2476, '451122', '451100', '钟山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2477, '451123', '451100', '富川瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2478, '451202', '451200', '金城江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2479, '451221', '451200', '南丹县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2480, '451222', '451200', '天峨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2481, '451223', '451200', '凤山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2482, '451224', '451200', '东兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2483, '451225', '451200', '罗城仫佬族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2484, '451226', '451200', '环江毛南族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2485, '451227', '451200', '巴马瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2486, '451228', '451200', '都安瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2487, '451229', '451200', '大化瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2488, '451281', '451200', '宜州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2489, '451302', '451300', '兴宾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2490, '451321', '451300', '忻城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2491, '451322', '451300', '象州县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2492, '451323', '451300', '武宣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2493, '451324', '451300', '金秀瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2494, '451381', '451300', '合山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2495, '451402', '451400', '江洲区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2496, '451421', '451400', '扶绥县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2497, '451422', '451400', '宁明县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2498, '451423', '451400', '龙州县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2499, '451424', '451400', '大新县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2500, '451425', '451400', '天等县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2501, '451481', '451400', '凭祥市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2502, '460105', '460100', '秀英区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2503, '460106', '460100', '龙华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2504, '460107', '460100', '琼山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2505, '460108', '460100', '美兰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2506, '460322', '460300', '南沙群岛', 3);
+INSERT INTO `yee_pay_areas` VALUES (2507, '460323', '460300', '西沙群岛', 3);
+INSERT INTO `yee_pay_areas` VALUES (2508, '460324', '460300', '中沙群岛', 3);
+INSERT INTO `yee_pay_areas` VALUES (2509, '469001', '469000', '五指山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2510, '469002', '469000', '琼海市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2511, '469003', '469000', '儋州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2512, '469005', '469000', '文昌市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2513, '469006', '469000', '万宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2514, '469007', '469000', '东方市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2515, '469008', '469000', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2516, '469025', '469000', '定安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2517, '469026', '469000', '屯昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2518, '469027', '469000', '澄迈县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2519, '469028', '469000', '临高县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2520, '469030', '469000', '白沙黎族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2521, '469031', '469000', '昌江黎族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2522, '469033', '469000', '乐东黎族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2523, '469034', '469000', '陵水黎族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2524, '469035', '469000', '保亭黎族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2525, '469036', '469000', '琼中黎族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2526, '469051', '469000', '西、南、中沙群岛办事处', 3);
+INSERT INTO `yee_pay_areas` VALUES (2527, '469040', '460200', '河西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2528, '469041', '460200', '河东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2529, '469042', '460200', '市辖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2530, '469043', '460200', '田独镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2531, '469044', '460200', '凤凰镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2532, '469052', '460200', '三亚市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2533, '469053', '460200', '崖城镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2534, '469054', '460200', '天涯镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2535, '469055', '460200', '育才乡', 3);
+INSERT INTO `yee_pay_areas` VALUES (2536, '469056', '460200', '海棠湾镇', 3);
+INSERT INTO `yee_pay_areas` VALUES (2537, '500101', '500100', '万州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2538, '500102', '500100', '涪陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2539, '500103', '500100', '渝中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2540, '500104', '500100', '大渡口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2541, '500105', '500100', '江北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2542, '500106', '500100', '沙坪坝区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2543, '500107', '500100', '九龙坡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2544, '500108', '500100', '南岸区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2545, '500109', '500100', '北碚区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2546, '500110', '500100', '万盛区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2547, '50011001', '500100', '綦江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2548, '500111', '500100', '双桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2549, '50011101', '500100', '大足区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2550, '500112', '500100', '渝北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2551, '500113', '500100', '巴南区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2552, '500114', '500100', '黔江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2553, '500115', '500100', '长寿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2554, '500222', '500100', '綦江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2555, '500223', '500100', '潼南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2556, '500224', '500100', '铜梁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2557, '500225', '500100', '大足区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2558, '500226', '500100', '荣昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2559, '500227', '500100', '璧山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2560, '500228', '500100', '梁平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2561, '500229', '500100', '城口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2562, '500230', '500100', '丰都县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2563, '500231', '500100', '垫江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2564, '500232', '500100', '武隆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2565, '500233', '500100', '忠县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2566, '500234', '500100', '开县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2567, '500235', '500100', '云阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2568, '500236', '500100', '奉节县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2569, '500237', '500100', '巫山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2570, '500238', '500100', '巫溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2571, '500240', '500100', '石柱土家族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2572, '500241', '500100', '秀山土家族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2573, '500242', '500100', '酉阳土家族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2574, '500243', '500100', '彭水苗族土家族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2575, '500244', '500100', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2576, '500381', '500100', '江津区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2577, '500382', '500100', '合川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2578, '500383', '500100', '永川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2579, '500384', '500100', '南川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2580, '510104', '510100', '锦江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2581, '510105', '510100', '青羊区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2582, '510106', '510100', '金牛区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2583, '510107', '510100', '武侯区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2584, '510108', '510100', '成华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2585, '510112', '510100', '龙泉驿区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2586, '510113', '510100', '青白江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2587, '510114', '510100', '新都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2588, '510115', '510100', '温江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2589, '510121', '510100', '金堂县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2590, '510122', '510100', '双流县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2591, '510124', '510100', '郫县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2592, '510129', '510100', '大邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2593, '510131', '510100', '蒲江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2594, '510132', '510100', '新津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2595, '510181', '510100', '都江堰市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2596, '510182', '510100', '彭州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2597, '510183', '510100', '邛崃市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2598, '510184', '510100', '崇州市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2599, '513460', '510100', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2600, '513465', '510100', '高新西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2601, '510302', '510300', '自流井区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2602, '510303', '510300', '贡井区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2603, '510304', '510300', '大安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2604, '510311', '510300', '沿滩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2605, '510321', '510300', '荣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2606, '510322', '510300', '富顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2607, '510402', '510400', '东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2608, '510403', '510400', '西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2609, '510411', '510400', '仁和区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2610, '510421', '510400', '米易县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2611, '510422', '510400', '盐边县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2612, '510502', '510500', '江阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2613, '510503', '510500', '纳溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2614, '510504', '510500', '龙马潭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2615, '510521', '510500', '泸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2616, '510522', '510500', '合江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2617, '510524', '510500', '叙永县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2618, '510525', '510500', '古蔺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2619, '510603', '510600', '旌阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2620, '510623', '510600', '中江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2621, '510626', '510600', '罗江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2622, '510681', '510600', '广汉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2623, '510682', '510600', '什邡市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2624, '510683', '510600', '绵竹市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2625, '510703', '510700', '涪城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2626, '510704', '510700', '游仙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2627, '510722', '510700', '三台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2628, '510723', '510700', '盐亭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2629, '510724', '510700', '安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2630, '510725', '510700', '梓潼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2631, '510726', '510700', '北川羌族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2632, '510727', '510700', '平武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2633, '510781', '510700', '江油市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2634, '513461', '510700', '农科区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2635, '513462', '510700', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2636, '513463', '510700', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2637, '513464', '510700', '仙海区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2638, '510802', '510800', '利州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2639, '510811', '510800', '昭化区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2640, '510812', '510800', '朝天区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2641, '510821', '510800', '旺苍县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2642, '510822', '510800', '青川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2643, '510823', '510800', '剑阁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2644, '510824', '510800', '苍溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2645, '510903', '510900', '船山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2646, '510904', '510900', '安居区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2647, '510921', '510900', '蓬溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2648, '510922', '510900', '射洪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2649, '510923', '510900', '大英县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2650, '511002', '511000', '市中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2651, '511011', '511000', '东兴区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2652, '511024', '511000', '威远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2653, '511025', '511000', '资中县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2654, '511028', '511000', '隆昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2655, '511102', '511100', '市中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2656, '511111', '511100', '沙湾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2657, '511112', '511100', '五通桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2658, '511113', '511100', '金口河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2659, '511123', '511100', '犍为县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2660, '511124', '511100', '井研县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2661, '511126', '511100', '夹江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2662, '511129', '511100', '沐川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2663, '511132', '511100', '峨边彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2664, '511133', '511100', '马边彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2665, '511181', '511100', '峨眉山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2666, '511302', '511300', '顺庆区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2667, '511303', '511300', '高坪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2668, '511304', '511300', '嘉陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2669, '511321', '511300', '南部县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2670, '511322', '511300', '营山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2671, '511323', '511300', '蓬安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2672, '511324', '511300', '仪陇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2673, '511325', '511300', '西充县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2674, '511381', '511300', '阆中市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2675, '511402', '511400', '东坡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2676, '511421', '511400', '仁寿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2677, '511422', '511400', '彭山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2678, '511423', '511400', '洪雅县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2679, '511424', '511400', '丹棱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2680, '511425', '511400', '青神县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2681, '511502', '511500', '翠屏区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2682, '511503', '511500', '南溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2683, '511521', '511500', '宜宾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2684, '511522', '511500', '南溪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2685, '511523', '511500', '江安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2686, '511524', '511500', '长宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2687, '511525', '511500', '高县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2688, '511526', '511500', '珙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2689, '511527', '511500', '筠连县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2690, '511528', '511500', '兴文县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2691, '511529', '511500', '屏山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2692, '511602', '511600', '广安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2693, '511603', '511600', '前锋区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2694, '511621', '511600', '岳池县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2695, '511622', '511600', '武胜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2696, '511623', '511600', '邻水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2697, '511681', '511600', '华蓥市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2698, '511702', '511700', '通川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2699, '511721', '511700', '达川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2700, '511722', '511700', '宣汉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2701, '511723', '511700', '开江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2702, '511724', '511700', '大竹县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2703, '511725', '511700', '渠县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2704, '511781', '511700', '万源市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2705, '511802', '511800', '雨城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2706, '511821', '511800', '名山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2707, '511822', '511800', '荥经县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2708, '511823', '511800', '汉源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2709, '511824', '511800', '石棉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2710, '511825', '511800', '天全县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2711, '511826', '511800', '芦山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2712, '511827', '511800', '宝兴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2713, '511902', '511900', '巴州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2714, '511903', '511900', '恩阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2715, '511921', '511900', '通江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2716, '511922', '511900', '南江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2717, '511923', '511900', '平昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2718, '512002', '512000', '雁江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2719, '512021', '512000', '安岳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2720, '512022', '512000', '乐至县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2721, '512081', '512000', '简阳市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2722, '513221', '513200', '汶川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2723, '513222', '513200', '理县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2724, '513223', '513200', '茂县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2725, '513224', '513200', '松潘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2726, '513225', '513200', '九寨沟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2727, '513226', '513200', '金川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2728, '513227', '513200', '小金县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2729, '513228', '513200', '黑水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2730, '513229', '513200', '马尔康县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2731, '513230', '513200', '壤塘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2732, '513231', '513200', '阿坝县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2733, '513232', '513200', '若尔盖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2734, '513233', '513200', '红原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2735, '513321', '513300', '康定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2736, '513322', '513300', '泸定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2737, '513323', '513300', '丹巴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2738, '513324', '513300', '九龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2739, '513325', '513300', '雅江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2740, '513326', '513300', '道孚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2741, '513327', '513300', '炉霍县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2742, '513328', '513300', '甘孜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2743, '513329', '513300', '新龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2744, '513330', '513300', '德格县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2745, '513331', '513300', '白玉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2746, '513332', '513300', '石渠县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2747, '513333', '513300', '色达县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2748, '513334', '513300', '理塘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2749, '513335', '513300', '巴塘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2750, '513336', '513300', '乡城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2751, '513337', '513300', '稻城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2752, '513338', '513300', '得荣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2753, '513401', '513400', '西昌市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2754, '513422', '513400', '木里藏族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2755, '513423', '513400', '盐源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2756, '513424', '513400', '德昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2757, '513425', '513400', '会理县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2758, '513426', '513400', '会东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2759, '513427', '513400', '宁南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2760, '513428', '513400', '普格县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2761, '513429', '513400', '布拖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2762, '513430', '513400', '金阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2763, '513431', '513400', '昭觉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2764, '513432', '513400', '喜德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2765, '513433', '513400', '冕宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2766, '513434', '513400', '越西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2767, '513435', '513400', '甘洛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2768, '513436', '513400', '美姑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2769, '513437', '513400', '雷波县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2770, '520102', '520100', '南明区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2771, '520103', '520100', '云岩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2772, '520111', '520100', '花溪区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2773, '520112', '520100', '乌当区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2774, '520113', '520100', '白云区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2775, '520114', '520100', '小河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2776, '520115', '520100', '观山湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2777, '520121', '520100', '开阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2778, '520122', '520100', '息烽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2779, '520123', '520100', '修文县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2780, '520181', '520100', '清镇市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2781, '522745', '520100', '金阳新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2782, '520201', '520200', '钟山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2783, '520203', '520200', '六枝特区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2784, '520221', '520200', '水城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2785, '520222', '520200', '盘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2786, '520302', '520300', '红花岗区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2787, '520303', '520300', '汇川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2788, '520321', '520300', '遵义县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2789, '520322', '520300', '桐梓县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2790, '520323', '520300', '绥阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2791, '520324', '520300', '正安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2792, '520325', '520300', '道真仡佬族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2793, '520326', '520300', '务川仡佬族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2794, '520327', '520300', '凤冈县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2795, '520328', '520300', '湄潭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2796, '520329', '520300', '余庆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2797, '520330', '520300', '习水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2798, '520381', '520300', '赤水市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2799, '520382', '520300', '仁怀市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2800, '520402', '520400', '西秀区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2801, '520421', '520400', '平坝县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2802, '520422', '520400', '普定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2803, '520423', '520400', '镇宁布依族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2804, '520424', '520400', '关岭布依族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2805, '520425', '520400', '紫云苗族布依族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2806, '520501', '520600', '市辖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2807, '520502', '520600', '七星关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2808, '520521', '520600', '大方县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2809, '520522', '520600', '黔西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2810, '520523', '520600', '金沙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2811, '520524', '520600', '织金县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2812, '520525', '520600', '纳雍县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2813, '520526', '520600', '威宁彝族回族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2814, '520527', '520600', '赫章县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2815, '520601', '520500', '市辖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2816, '520602', '520500', '碧江区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2817, '520603', '520500', '万山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2818, '520621', '520500', '江口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2819, '520622', '520500', '玉屏侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2820, '520623', '520500', '石阡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2821, '520624', '520500', '思南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2822, '520625', '520500', '印江土家族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2823, '520626', '520500', '德江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2824, '520627', '520500', '沿河土家族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2825, '520628', '520500', '松桃苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2826, '522201', '522200', '铜仁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2827, '522222', '522200', '江口县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2828, '522223', '522200', '玉屏侗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2829, '522224', '522200', '石阡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2830, '522225', '522200', '思南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2831, '522226', '522200', '印江土家族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2832, '522227', '522200', '德江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2833, '522228', '522200', '沿河土家族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2834, '522229', '522200', '松桃苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2835, '522230', '522200', '万山特区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2836, '522301', '522300', '兴义市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2837, '522322', '522300', '兴仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2838, '522323', '522300', '普安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2839, '522324', '522300', '晴隆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2840, '522325', '522300', '贞丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2841, '522326', '522300', '望谟县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2842, '522327', '522300', '册亨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2843, '522328', '522300', '安龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2844, '522401', '522400', '毕节市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2845, '522422', '522400', '大方县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2846, '522423', '522400', '黔西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2847, '522424', '522400', '金沙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2848, '522425', '522400', '织金县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2849, '522426', '522400', '纳雍县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2850, '522427', '522400', '威宁彝族回族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2851, '522428', '522400', '赫章县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2852, '522601', '522600', '凯里市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2853, '522622', '522600', '黄平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2854, '522623', '522600', '施秉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2855, '522624', '522600', '三穗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2856, '522625', '522600', '镇远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2857, '522626', '522600', '岑巩县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2858, '522627', '522600', '天柱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2859, '522628', '522600', '锦屏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2860, '522629', '522600', '剑河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2861, '522630', '522600', '台江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2862, '522631', '522600', '黎平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2863, '522632', '522600', '榕江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2864, '522633', '522600', '从江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2865, '522634', '522600', '雷山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2866, '522635', '522600', '麻江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2867, '522636', '522600', '丹寨县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2868, '522701', '522700', '都匀市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2869, '522702', '522700', '福泉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2870, '522722', '522700', '荔波县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2871, '522723', '522700', '贵定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2872, '522725', '522700', '瓮安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2873, '522726', '522700', '独山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2874, '522727', '522700', '平塘县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2875, '522728', '522700', '罗甸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2876, '522729', '522700', '长顺县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2877, '522730', '522700', '龙里县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2878, '522731', '522700', '惠水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2879, '522732', '522700', '三都水族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2880, '530102', '530100', '五华区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2881, '530103', '530100', '盘龙区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2882, '530104', '530100', '经济技术开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2883, '530111', '530100', '官渡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2884, '530112', '530100', '西山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2885, '530113', '530100', '东川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2886, '530114', '530100', '呈贡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2887, '530121', '530100', '呈贡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2888, '530122', '530100', '晋宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2889, '530124', '530100', '富民县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2890, '530125', '530100', '宜良县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2891, '530126', '530100', '石林彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2892, '530127', '530100', '嵩明县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2893, '530128', '530100', '禄劝彝族苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2894, '530129', '530100', '寻甸回族彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2895, '530181', '530100', '安宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2896, '530302', '530300', '麒麟区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2897, '530321', '530300', '马龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2898, '530322', '530300', '陆良县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2899, '530323', '530300', '师宗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2900, '530324', '530300', '罗平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2901, '530325', '530300', '富源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2902, '530326', '530300', '会泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2903, '530328', '530300', '沾益县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2904, '530381', '530300', '宣威市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2905, '530402', '530400', '红塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2906, '530421', '530400', '江川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2907, '530422', '530400', '澄江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2908, '530423', '530400', '通海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2909, '530424', '530400', '华宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2910, '530425', '530400', '易门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2911, '530426', '530400', '峨山彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2912, '530427', '530400', '新平彝族傣族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2913, '530428', '530400', '元江哈尼族彝族傣族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2914, '530502', '530500', '隆阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2915, '530521', '530500', '施甸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2916, '530522', '530500', '腾冲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2917, '530523', '530500', '龙陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2918, '530524', '530500', '昌宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2919, '530602', '530600', '昭阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2920, '530621', '530600', '鲁甸县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2921, '530622', '530600', '巧家县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2922, '530623', '530600', '盐津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2923, '530624', '530600', '大关县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2924, '530625', '530600', '永善县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2925, '530626', '530600', '绥江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2926, '530627', '530600', '镇雄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2927, '530628', '530600', '彝良县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2928, '530629', '530600', '威信县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2929, '530630', '530600', '水富县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2930, '530702', '530700', '古城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2931, '530721', '530700', '玉龙纳西族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2932, '530722', '530700', '永胜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2933, '530723', '530700', '华坪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2934, '530724', '530700', '宁蒗彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2935, '530802', '530800', '思茅区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2936, '530821', '530800', '宁洱哈尼族彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2937, '530822', '530800', '墨江哈尼族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2938, '530823', '530800', '景东彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2939, '530824', '530800', '景谷傣族彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2940, '530825', '530800', '镇沅彝族哈尼族拉祜族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2941, '530826', '530800', '江城哈尼族彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2942, '530827', '530800', '孟连傣族拉祜族佤族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2943, '530828', '530800', '澜沧拉祜族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2944, '530829', '530800', '西盟佤族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2945, '530902', '530900', '临翔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2946, '530921', '530900', '凤庆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2947, '530922', '530900', '云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2948, '530923', '530900', '永德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2949, '530924', '530900', '镇康县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2950, '530925', '530900', '双江拉祜族佤族布朗族傣族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2951, '530926', '530900', '耿马傣族佤族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2952, '530927', '530900', '沧源佤族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2953, '532301', '532300', '楚雄市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2954, '532322', '532300', '双柏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2955, '532323', '532300', '牟定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2956, '532324', '532300', '南华县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2957, '532325', '532300', '姚安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2958, '532326', '532300', '大姚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2959, '532327', '532300', '永仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2960, '532328', '532300', '元谋县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2961, '532329', '532300', '武定县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2962, '532331', '532300', '禄丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2963, '532501', '532500', '个旧市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2964, '532502', '532500', '开远市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2965, '532522', '532500', '蒙自市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2966, '532523', '532500', '屏边苗族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2967, '532524', '532500', '建水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2968, '532525', '532500', '石屏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2969, '532526', '532500', '弥勒区', 3);
+INSERT INTO `yee_pay_areas` VALUES (2970, '532527', '532500', '泸西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2971, '532528', '532500', '元阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2972, '532529', '532500', '红河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2973, '532530', '532500', '金平苗族瑶族傣族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2974, '532531', '532500', '绿春县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2975, '532532', '532500', '河口瑶族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2976, '532601', '532600', '文山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2977, '532621', '532600', '文山市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2978, '532622', '532600', '砚山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2979, '532623', '532600', '西畴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2980, '532624', '532600', '麻栗坡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2981, '532625', '532600', '马关县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2982, '532626', '532600', '丘北县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2983, '532627', '532600', '广南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2984, '532628', '532600', '富宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2985, '532801', '532800', '景洪市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2986, '532822', '532800', '勐海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2987, '532823', '532800', '勐腊县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2988, '532901', '532900', '大理市', 3);
+INSERT INTO `yee_pay_areas` VALUES (2989, '532922', '532900', '漾濞彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2990, '532923', '532900', '祥云县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2991, '532924', '532900', '宾川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2992, '532925', '532900', '弥渡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2993, '532926', '532900', '南涧彝族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2994, '532927', '532900', '巍山彝族回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2995, '532928', '532900', '永平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2996, '532929', '532900', '云龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2997, '532930', '532900', '洱源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2998, '532931', '532900', '剑川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (2999, '532932', '532900', '鹤庆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3000, '533102', '533100', '瑞丽市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3001, '533103', '533100', '芒市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3002, '533122', '533100', '梁河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3003, '533123', '533100', '盈江县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3004, '533124', '533100', '陇川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3005, '533321', '533300', '泸水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3006, '533323', '533300', '福贡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3007, '533324', '533300', '贡山独龙族怒族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3008, '533325', '533300', '兰坪白族普米族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3009, '533421', '533400', '香格里拉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3010, '533422', '533400', '德钦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3011, '533423', '533400', '维西傈僳族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3012, '540102', '540100', '城关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3013, '540121', '540100', '林周县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3014, '540122', '540100', '当雄县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3015, '540123', '540100', '尼木县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3016, '540124', '540100', '曲水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3017, '540125', '540100', '堆龙德庆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3018, '540126', '540100', '达孜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3019, '540127', '540100', '墨竹工卡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3020, '542121', '542100', '昌都县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3021, '542122', '542100', '江达县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3022, '542123', '542100', '贡觉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3023, '542124', '542100', '类乌齐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3024, '542125', '542100', '丁青县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3025, '542126', '542100', '察雅县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3026, '542127', '542100', '八宿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3027, '542128', '542100', '左贡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3028, '542129', '542100', '芒康县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3029, '542132', '542100', '洛隆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3030, '542133', '542100', '边坝县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3031, '542221', '542200', '乃东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3032, '542222', '542200', '扎囊县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3033, '542223', '542200', '贡嘎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3034, '542224', '542200', '桑日县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3035, '542225', '542200', '琼结县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3036, '542226', '542200', '曲松县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3037, '542227', '542200', '措美县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3038, '542228', '542200', '洛扎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3039, '542229', '542200', '加查县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3040, '542231', '542200', '隆子县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3041, '542232', '542200', '错那县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3042, '542233', '542200', '浪卡子县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3043, '542301', '542300', '日喀则市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3044, '542322', '542300', '南木林县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3045, '542323', '542300', '江孜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3046, '542324', '542300', '定日县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3047, '542325', '542300', '萨迦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3048, '542326', '542300', '拉孜县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3049, '542327', '542300', '昂仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3050, '542328', '542300', '谢通门县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3051, '542329', '542300', '白朗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3052, '542330', '542300', '仁布县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3053, '542331', '542300', '康马县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3054, '542332', '542300', '定结县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3055, '542333', '542300', '仲巴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3056, '542334', '542300', '亚东县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3057, '542335', '542300', '吉隆县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3058, '542336', '542300', '聂拉木县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3059, '542337', '542300', '萨嘎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3060, '542338', '542300', '岗巴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3061, '542421', '542400', '那曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3062, '542422', '542400', '嘉黎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3063, '542423', '542400', '比如县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3064, '542424', '542400', '聂荣县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3065, '542425', '542400', '安多县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3066, '542426', '542400', '申扎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3067, '542427', '542400', '索县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3068, '542428', '542400', '班戈县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3069, '542429', '542400', '巴青县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3070, '542430', '542400', '尼玛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3071, '542521', '542500', '普兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3072, '542522', '542500', '札达县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3073, '542523', '542500', '噶尔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3074, '542524', '542500', '日土县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3075, '542525', '542500', '革吉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3076, '542526', '542500', '改则县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3077, '542527', '542500', '措勤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3078, '542621', '542600', '林芝县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3079, '542622', '542600', '工布江达县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3080, '542623', '542600', '米林县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3081, '542624', '542600', '墨脱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3082, '542625', '542600', '波密县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3083, '542626', '542600', '察隅县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3084, '542627', '542600', '朗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3085, '610102', '610100', '新城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3086, '610103', '610100', '碑林区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3087, '610104', '610100', '莲湖区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3088, '610111', '610100', '灞桥区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3089, '610112', '610100', '未央区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3090, '610113', '610100', '雁塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3091, '610114', '610100', '阎良区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3092, '610115', '610100', '临潼区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3093, '610116', '610100', '长安区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3094, '610122', '610100', '蓝田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3095, '610124', '610100', '周至县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3096, '610125', '610100', '户县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3097, '610126', '610100', '高陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3098, '611052', '610100', '高新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3099, '610202', '610200', '王益区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3100, '610203', '610200', '印台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3101, '610204', '610200', '耀州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3102, '610222', '610200', '宜君县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3103, '611053', '610200', '新区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3104, '610302', '610300', '渭滨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3105, '610303', '610300', '金台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3106, '610304', '610300', '陈仓区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3107, '610322', '610300', '凤翔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3108, '610323', '610300', '岐山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3109, '610324', '610300', '扶风县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3110, '610326', '610300', '眉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3111, '610327', '610300', '陇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3112, '610328', '610300', '千阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3113, '610329', '610300', '麟游县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3114, '610330', '610300', '凤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3115, '610331', '610300', '太白县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3116, '610402', '610400', '秦都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3117, '610403', '610400', '渭城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3118, '610404', '610400', '杨陵区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3119, '610422', '610400', '三原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3120, '610423', '610400', '泾阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3121, '610424', '610400', '兴平市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3122, '610425', '610400', '乾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3123, '610426', '610400', '礼泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3124, '610427', '610400', '永寿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3125, '610428', '610400', '彬县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3126, '610429', '610400', '长武县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3127, '610430', '610400', '旬邑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3128, '610431', '610400', '淳化县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3129, '610481', '610400', '武功县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3130, '610502', '610500', '临渭区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3131, '610521', '610500', '华县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3132, '610522', '610500', '潼关县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3133, '610523', '610500', '大荔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3134, '610524', '610500', '合阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3135, '610525', '610500', '澄城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3136, '610526', '610500', '蒲城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3137, '610527', '610500', '白水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3138, '610528', '610500', '富平县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3139, '610581', '610500', '韩城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3140, '610582', '610500', '华阴市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3141, '610602', '610600', '宝塔区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3142, '610621', '610600', '延长县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3143, '610622', '610600', '延川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3144, '610623', '610600', '子长县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3145, '610624', '610600', '安塞县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3146, '610625', '610600', '志丹县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3147, '610626', '610600', '吴起县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3148, '610627', '610600', '甘泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3149, '610628', '610600', '富县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3150, '610629', '610600', '洛川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3151, '610630', '610600', '宜川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3152, '610631', '610600', '黄龙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3153, '610632', '610600', '黄陵县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3154, '610702', '610700', '汉台区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3155, '610721', '610700', '南郑县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3156, '610722', '610700', '城固县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3157, '610723', '610700', '洋县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3158, '610724', '610700', '西乡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3159, '610725', '610700', '勉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3160, '610726', '610700', '宁强县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3161, '610727', '610700', '略阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3162, '610728', '610700', '镇巴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3163, '610729', '610700', '留坝县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3164, '610730', '610700', '佛坪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3165, '611051', '610700', '经济开发区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3166, '610802', '610800', '榆阳区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3167, '610821', '610800', '神木县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3168, '610822', '610800', '府谷县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3169, '610823', '610800', '横山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3170, '610824', '610800', '靖边县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3171, '610825', '610800', '定边县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3172, '610826', '610800', '绥德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3173, '610827', '610800', '米脂县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3174, '610828', '610800', '佳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3175, '610829', '610800', '吴堡县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3176, '610830', '610800', '清涧县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3177, '610831', '610800', '子洲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3178, '610902', '610900', '汉滨区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3179, '610921', '610900', '汉阴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3180, '610922', '610900', '石泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3181, '610923', '610900', '宁陕县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3182, '610924', '610900', '紫阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3183, '610925', '610900', '岚皋县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3184, '610926', '610900', '平利县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3185, '610927', '610900', '镇坪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3186, '610928', '610900', '旬阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3187, '610929', '610900', '白河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3188, '611002', '611000', '商州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3189, '611021', '611000', '洛南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3190, '611022', '611000', '丹凤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3191, '611023', '611000', '商南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3192, '611024', '611000', '山阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3193, '611025', '611000', '镇安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3194, '611026', '611000', '柞水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3195, '620102', '620100', '城关区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3196, '620103', '620100', '七里河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3197, '620104', '620100', '西固区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3198, '620105', '620100', '安宁区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3199, '620111', '620100', '红古区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3200, '620121', '620100', '永登县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3201, '620122', '620100', '皋兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3202, '620123', '620100', '榆中县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3203, '620201', '620200', '嘉峪关市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3204, '620302', '620300', '金川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3205, '620321', '620300', '永昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3206, '620402', '620400', '白银区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3207, '620403', '620400', '平川区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3208, '620421', '620400', '靖远县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3209, '620422', '620400', '会宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3210, '620423', '620400', '景泰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3211, '620502', '620500', '秦州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3212, '620503', '620500', '麦积区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3213, '620521', '620500', '清水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3214, '620522', '620500', '秦安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3215, '620523', '620500', '甘谷县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3216, '620524', '620500', '武山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3217, '620525', '620500', '张家川回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3218, '620602', '620600', '凉州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3219, '620621', '620600', '民勤县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3220, '620622', '620600', '古浪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3221, '620623', '620600', '天祝藏族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3222, '620702', '620700', '甘州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3223, '620721', '620700', '肃南裕固族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3224, '620722', '620700', '民乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3225, '620723', '620700', '临泽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3226, '620724', '620700', '高台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3227, '620725', '620700', '山丹县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3228, '620802', '620800', '崆峒区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3229, '620821', '620800', '泾川县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3230, '620822', '620800', '灵台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3231, '620823', '620800', '崇信县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3232, '620824', '620800', '华亭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3233, '620825', '620800', '庄浪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3234, '620826', '620800', '静宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3235, '620902', '620900', '肃州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3236, '620921', '620900', '金塔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3237, '620922', '620900', '瓜州县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3238, '620923', '620900', '肃北蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3239, '620924', '620900', '阿克塞哈萨克族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3240, '620981', '620900', '玉门市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3241, '620982', '620900', '敦煌市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3242, '621002', '621000', '西峰区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3243, '621021', '621000', '庆城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3244, '621022', '621000', '环县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3245, '621023', '621000', '华池县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3246, '621024', '621000', '合水县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3247, '621025', '621000', '正宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3248, '621026', '621000', '宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3249, '621027', '621000', '镇原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3250, '621102', '621100', '安定区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3251, '621121', '621100', '通渭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3252, '621122', '621100', '陇西县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3253, '621123', '621100', '渭源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3254, '621124', '621100', '临洮县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3255, '621125', '621100', '漳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3256, '621126', '621100', '岷县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3257, '621202', '621200', '武都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3258, '621221', '621200', '成县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3259, '621222', '621200', '文县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3260, '621223', '621200', '宕昌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3261, '621224', '621200', '康县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3262, '621225', '621200', '西和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3263, '621226', '621200', '礼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3264, '621227', '621200', '徽县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3265, '621228', '621200', '两当县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3266, '622901', '622900', '临夏市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3267, '622921', '622900', '临夏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3268, '622922', '622900', '康乐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3269, '622923', '622900', '永靖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3270, '622924', '622900', '广河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3271, '622925', '622900', '和政县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3272, '622926', '622900', '东乡族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3273, '622927', '622900', '积石山保安族东乡族撒拉族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3274, '623001', '623000', '合作市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3275, '623021', '623000', '临潭县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3276, '623022', '623000', '卓尼县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3277, '623023', '623000', '舟曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3278, '623024', '623000', '迭部县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3279, '623025', '623000', '玛曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3280, '623026', '623000', '碌曲县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3281, '623027', '623000', '夏河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3282, '630102', '630100', '城东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3283, '630103', '630100', '城中区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3284, '630104', '630100', '城西区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3285, '630105', '630100', '城北区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3286, '630121', '630100', '大通回族土族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3287, '630122', '630100', '湟中县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3288, '630123', '630100', '湟源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3289, '632121', '632100', '平安县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3290, '632122', '632100', '民和回族土族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3291, '632123', '632100', '乐都区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3292, '632126', '632100', '互助土族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3293, '632127', '632100', '化隆回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3294, '632128', '632100', '循化撒拉族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3295, '632221', '632200', '门源回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3296, '632222', '632200', '祁连县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3297, '632223', '632200', '海晏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3298, '632224', '632200', '刚察县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3299, '632321', '632300', '同仁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3300, '632322', '632300', '尖扎县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3301, '632323', '632300', '泽库县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3302, '632324', '632300', '河南蒙古族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3303, '632521', '632500', '共和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3304, '632522', '632500', '同德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3305, '632523', '632500', '贵德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3306, '632524', '632500', '兴海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3307, '632525', '632500', '贵南县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3308, '632621', '632600', '玛沁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3309, '632622', '632600', '班玛县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3310, '632623', '632600', '甘德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3311, '632624', '632600', '达日县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3312, '632625', '632600', '久治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3313, '632626', '632600', '玛多县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3314, '632721', '632700', '玉树市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3315, '632722', '632700', '杂多县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3316, '632723', '632700', '称多县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3317, '632724', '632700', '治多县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3318, '632725', '632700', '囊谦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3319, '632726', '632700', '曲麻莱县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3320, '632801', '632800', '格尔木市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3321, '632802', '632800', '德令哈市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3322, '632821', '632800', '乌兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3323, '632822', '632800', '都兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3324, '632823', '632800', '天峻县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3325, '632833', '632800', '大柴旦行委', 3);
+INSERT INTO `yee_pay_areas` VALUES (3326, '640104', '640100', '兴庆区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3327, '640105', '640100', '西夏区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3328, '640106', '640100', '金凤区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3329, '640121', '640100', '永宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3330, '640122', '640100', '贺兰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3331, '640181', '640100', '灵武市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3332, '640202', '640200', '大武口区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3333, '640205', '640200', '惠农区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3334, '640221', '640200', '平罗县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3335, '640302', '640300', '利通区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3336, '640323', '640300', '盐池县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3337, '640324', '640300', '同心县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3338, '640381', '640300', '青铜峡市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3339, '640382', '640300', '红寺堡区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3340, '640402', '640400', '原州区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3341, '640422', '640400', '西吉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3342, '640423', '640400', '隆德县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3343, '640424', '640400', '泾源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3344, '640425', '640400', '彭阳县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3345, '640502', '640500', '沙坡头区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3346, '640521', '640500', '中宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3347, '640522', '640500', '海原县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3348, '650102', '650100', '天山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3349, '650103', '650100', '沙依巴克区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3350, '650104', '650100', '新市区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3351, '650105', '650100', '水磨沟区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3352, '650106', '650100', '头屯河区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3353, '650107', '650100', '达坂城区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3354, '650108', '650100', '米东区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3355, '650121', '650100', '乌鲁木齐县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3356, '650122', '650100', '东山区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3357, '650202', '650200', '独山子区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3358, '650203', '650200', '克拉玛依区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3359, '650204', '650200', '白碱滩区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3360, '650205', '650200', '乌尔禾区', 3);
+INSERT INTO `yee_pay_areas` VALUES (3361, '652101', '652100', '吐鲁番市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3362, '652122', '652100', '鄯善县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3363, '652123', '652100', '托克逊县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3364, '652201', '652200', '哈密市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3365, '652222', '652200', '巴里坤哈萨克自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3366, '652223', '652200', '伊吾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3367, '652301', '652300', '昌吉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3368, '652302', '652300', '阜康市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3369, '652303', '652300', '米泉市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3370, '652323', '652300', '呼图壁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3371, '652324', '652300', '玛纳斯县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3372, '652325', '652300', '奇台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3373, '652327', '652300', '吉木萨尔县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3374, '652328', '652300', '木垒哈萨克自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3375, '652701', '652700', '博乐市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3376, '652722', '652700', '精河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3377, '652723', '652700', '温泉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3378, '652801', '652800', '库尔勒市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3379, '652822', '652800', '轮台县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3380, '652823', '652800', '尉犁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3381, '652824', '652800', '若羌县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3382, '652825', '652800', '且末县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3383, '652826', '652800', '焉耆回族自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3384, '652827', '652800', '和静县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3385, '652828', '652800', '和硕县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3386, '652829', '652800', '博湖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3387, '652901', '652900', '阿克苏市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3388, '652922', '652900', '温宿县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3389, '652923', '652900', '库车县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3390, '652924', '652900', '沙雅县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3391, '652925', '652900', '新和县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3392, '652926', '652900', '拜城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3393, '652927', '652900', '乌什县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3394, '652928', '652900', '阿瓦提县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3395, '652929', '652900', '柯坪县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3396, '653001', '653000', '阿图什市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3397, '653022', '653000', '阿克陶县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3398, '653023', '653000', '阿合奇县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3399, '653024', '653000', '乌恰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3400, '653101', '653100', '喀什市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3401, '653121', '653100', '疏附县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3402, '653122', '653100', '疏勒县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3403, '653123', '653100', '英吉沙县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3404, '653124', '653100', '泽普县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3405, '653125', '653100', '莎车县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3406, '653126', '653100', '叶城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3407, '653127', '653100', '麦盖提县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3408, '653128', '653100', '岳普湖县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3409, '653129', '653100', '伽师县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3410, '653130', '653100', '巴楚县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3411, '653131', '653100', '塔什库尔干塔吉克自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3412, '653201', '653200', '和田市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3413, '653221', '653200', '和田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3414, '653222', '653200', '墨玉县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3415, '653223', '653200', '皮山县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3416, '653224', '653200', '洛浦县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3417, '653225', '653200', '策勒县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3418, '653226', '653200', '于田县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3419, '653227', '653200', '民丰县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3420, '654002', '654000', '伊宁市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3421, '654003', '654000', '奎屯市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3422, '654021', '654000', '伊宁县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3423, '654022', '654000', '察布查尔锡伯自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3424, '654023', '654000', '霍城县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3425, '654024', '654000', '巩留县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3426, '654025', '654000', '新源县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3427, '654026', '654000', '昭苏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3428, '654027', '654000', '特克斯县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3429, '654028', '654000', '尼勒克县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3430, '654201', '654200', '塔城市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3431, '654202', '654200', '乌苏市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3432, '654221', '654200', '额敏县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3433, '654223', '654200', '沙湾县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3434, '654224', '654200', '托里县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3435, '654225', '654200', '裕民县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3436, '654226', '654200', '和布克赛尔蒙古自治县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3437, '654301', '654300', '阿勒泰市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3438, '654321', '654300', '布尔津县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3439, '654322', '654300', '富蕴县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3440, '654323', '654300', '福海县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3441, '654324', '654300', '哈巴河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3442, '654325', '654300', '青河县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3443, '654326', '654300', '吉木乃县', 3);
+INSERT INTO `yee_pay_areas` VALUES (3444, '659001', '659000', '石河子市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3445, '659002', '659000', '阿拉尔市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3446, '659003', '659000', '图木舒克市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3447, '659004', '659000', '五家渠市', 3);
+INSERT INTO `yee_pay_areas` VALUES (3448, '659005', '659000', '北屯市', 3);
+
+SET FOREIGN_KEY_CHECKS = 1;
diff --git a/lib/Auth/AuthorityReqRegistryImpl.php b/lib/Auth/AuthorityReqRegistryImpl.php
new file mode 100644
index 0000000..1d5e537
--- /dev/null
+++ b/lib/Auth/AuthorityReqRegistryImpl.php
@@ -0,0 +1,27 @@
+authorizationReqs[$operationId] = $securityReq;
+
+ return $this;
+ }
+
+ public function getAuthorizationReq($operationId)
+ {
+ return $this->authorizationReqs[$operationId];
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Auth/AuthorizationReq.php b/lib/Auth/AuthorizationReq.php
new file mode 100644
index 0000000..7eaf94a
--- /dev/null
+++ b/lib/Auth/AuthorizationReq.php
@@ -0,0 +1,145 @@
+signerType = $signerType;
+ $this->credentialType = $credentialType;
+ $this->signatureAlg = $signatureAlg;
+ $this->digestAlg = $digestAlg;
+ $this->protocolPrefix = $protocolPrefix;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSignerType()
+ {
+ return $this->signerType;
+ }
+
+ /**
+ * @param string $signerType
+ * @return AuthorizationReq
+ */
+ public function setSignerType($signerType)
+ {
+ $this->signerType = $signerType;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCredentialType()
+ {
+ return $this->credentialType;
+ }
+
+ /**
+ * @param string $credentialType
+ * @return AuthorizationReq
+ */
+ public function setCredentialType($credentialType)
+ {
+ $this->credentialType = $credentialType;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSignatureAlg()
+ {
+ return $this->signatureAlg;
+ }
+
+ /**
+ * @param string $signatureAlg
+ * @return AuthorizationReq
+ */
+ public function setSignatureAlg($signatureAlg)
+ {
+ $this->signatureAlg = $signatureAlg;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDigestAlg()
+ {
+ return $this->digestAlg;
+ }
+
+ /**
+ * @param string $digestAlg
+ * @return AuthorizationReq
+ */
+ public function setDigestAlg($digestAlg)
+ {
+ $this->digestAlg = $digestAlg;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProtocolPrefix()
+ {
+ return $this->protocolPrefix;
+ }
+
+ /**
+ * @param string $protocolPrefix
+ * @return AuthorizationReq
+ */
+ public function setProtocolPrefix($protocolPrefix)
+ {
+ $this->protocolPrefix = $protocolPrefix;
+
+ return $this;
+ }
+
+}
diff --git a/lib/Auth/AuthorizationReqRegistry.php b/lib/Auth/AuthorizationReqRegistry.php
new file mode 100644
index 0000000..17ba5f7
--- /dev/null
+++ b/lib/Auth/AuthorizationReqRegistry.php
@@ -0,0 +1,14 @@
+ new AuthorizationReq("RSA", "RSA2048", "SHA256withRSA", DigestAlg::SHA256,
+ "YOP-RSA2048-SHA256"),
+ "YOP-RSA2048-SHA512" => new AuthorizationReq("RSA", "RSA2048", "SHA512withRSA", DigestAlg::SHA512,
+ "YOP-RSA2048-SHA512"),
+ ];
+ }
+
+ /**
+ * @param string $securityReqName
+ * @return AuthorizationReq
+ */
+ static function getAuthorizationReq($securityReqName)
+ {
+ return self::$supportedAuthorizationReqs[$securityReqName];
+ }
+
+}
+
+AuthorizationReqSupport::init();
\ No newline at end of file
diff --git a/lib/Auth/Cipher/DefaultEncryptor.php b/lib/Auth/Cipher/DefaultEncryptor.php
new file mode 100644
index 0000000..984b94c
--- /dev/null
+++ b/lib/Auth/Cipher/DefaultEncryptor.php
@@ -0,0 +1,75 @@
+key = base64_decode($base64EncodedKey);
+ $this->keyLength = strlen($this->key);
+ }
+
+ /**
+ * @param $request
+ * @return mixed
+ */
+ public function encrypt(Request $request)
+ {
+ if ($request->getContentType() == ContentType::APPLICATION_OCTET_STREAM) {
+ return;
+ }
+ $request->addHeader(Headers::YOP_ENCRYPT_TYPE, "aes".$this->keyLength);
+ if (!empty($request->getParameters()) > 0) {
+ $encryptedParameters = [];
+ foreach ($request->getParameters() as $paramName => $paramValues) {
+ $encryptedParamValues = [];
+ foreach ($paramValues as $paramValue) {
+ $encryptedParamValues[] = AesEncryptor::encryptAndEncodeBase64($paramValue, $this->key);
+ }
+ $encryptedParameters[$paramName] = $encryptedParamValues;
+ }
+ $request->setParameters($encryptedParameters);
+ }
+ if (empty($request->getContent())) {
+ if (is_string($request->getContent())) {
+ $request->setContent(AesEncryptor::decodeBase64AndDecrypt($request->getContent(), $this->key));
+ } else {
+ if (is_resource($request->getContent())) {
+ //todo 忽略对resource的签名
+ }
+ }
+ }
+ }
+
+ /**
+ * @param $content string
+ * @return string
+ */
+ public function decrypt($content)
+ {
+ return AesEncryptor::decodeBase64AndDecrypt($content, $this->key);
+ }
+
+}
diff --git a/lib/Auth/Credential/DefaultCredentialProvider.php b/lib/Auth/Credential/DefaultCredentialProvider.php
new file mode 100644
index 0000000..8f73ca5
--- /dev/null
+++ b/lib/Auth/Credential/DefaultCredentialProvider.php
@@ -0,0 +1,94 @@
+credentials = [];
+ foreach ($appSdkConfigProvider->getAllConfig() as $appKey => $appKeySdkConfig) {
+ /* @var $appKeySdkConfig AppSdkConfig */
+ $appKeyCredentials = [];
+ if (!empty($appKeySdkConfig->getIsvPrivateKeys())) {
+ foreach ($appKeySdkConfig->getIsvPrivateKeys() as $credentialType => $isvPrivateKey) {
+ /* @var $isvPrivateKey string|resource */
+ if (is_string($isvPrivateKey)) {
+ $appKeyCredentials[$credentialType] = new YopRsaCredentials($appKey,
+ ConfigUtils::getPrivateKey($isvPrivateKey),
+ $appKeySdkConfig->getEncryptKey());
+ } else {
+ if (is_resource($isvPrivateKey)) {
+ $appKeyCredentials[$credentialType] = new YopRsaCredentials($appKey, $isvPrivateKey,
+ $appKeySdkConfig->getEncryptKey());
+ }
+ }
+ }
+ }
+ if (!empty($appKeyCredentials)) {
+ $this->credentials[$appKey] = $appKeyCredentials;
+ }
+ }
+ $this->defaultAppCredentials = $this->credentials[$appSdkConfigProvider->getDefaultConfig()->getAppKey()];
+ $this->publicKeys = $appSdkConfigProvider->getDefaultConfig()->getYopPublicKeys();
+ }
+
+ /**
+ * @param $appKey string
+ * @param $credentialType string
+ * @return YopRsaCredentials
+ */
+ public function getCredential($appKey, $credentialType)
+ {
+ if (isset($this->credentials[$appKey])) {
+ return $this->credentials[$appKey][$credentialType];
+ }
+ }
+
+ /**
+ * @param $credentialType string
+ * @return YopRsaCredentials
+ */
+ public function getDefaultAppCredential($credentialType)
+ {
+ return $this->defaultAppCredentials[$credentialType];
+ }
+
+ /**
+ * @param $credentialType string
+ * @return resource
+ */
+ public function getYopPublicKey($credentialType)
+ {
+ return $this->publicKeys[$credentialType];
+ }
+
+}
diff --git a/lib/Auth/Encryptor.php b/lib/Auth/Encryptor.php
new file mode 100644
index 0000000..170e586
--- /dev/null
+++ b/lib/Auth/Encryptor.php
@@ -0,0 +1,22 @@
+digestAlg = $digestAlg;
+ $this->protocolPrefix = $protocolPrefix;
+ if (isset($expirationInSeconds)) {
+ $this->expirationInSeconds = $expirationInSeconds;
+ }
+ }
+
+ /**
+ * @return string
+ */
+ public function getDigestAlg()
+ {
+ return $this->digestAlg;
+ }
+
+ /**
+ * @param string $digestAlg
+ * @return SignOptions
+ */
+ public function setDigestAlg($digestAlg)
+ {
+ $this->digestAlg = $digestAlg;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProtocolPrefix()
+ {
+ return $this->protocolPrefix;
+ }
+
+ /**
+ * @param string $protocolPrefix
+ * @return SignOptions
+ */
+ public function setProtocolPrefix($protocolPrefix)
+ {
+ $this->protocolPrefix = $protocolPrefix;
+
+ return $this;
+ }
+
+ /**
+ * @return int
+ */
+ public function getExpirationInSeconds()
+ {
+ return $this->expirationInSeconds;
+ }
+
+ /**
+ * @param int $expirationInSeconds
+ * @return SignOptions
+ */
+ public function setExpirationInSeconds($expirationInSeconds)
+ {
+ $this->expirationInSeconds = $expirationInSeconds;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Auth/Signer.php b/lib/Auth/Signer.php
new file mode 100644
index 0000000..4d811cd
--- /dev/null
+++ b/lib/Auth/Signer.php
@@ -0,0 +1,26 @@
+getAppKey();
+ $request->addHeader(Headers::HOST, HttpUtils:: generateHostHeader($request->getEndpoint()));
+ $timestamp = new DateTime();
+ $timestamp->setTimezone(DateUtils::$UTC_TIMEZONE);
+
+ $contentSha256 = $this->calculateContentHash($request);
+ if (isset($contentSha256)) {
+ $request->addHeader(Headers::YOP_CONTENT_SHA256, $contentSha256);
+ }
+ $canonicalQueryString = $this->getCanonicalQueryString($request);
+ $headersToSign = $this->getHeadersToSign($request->getHeaders(), self::$defaultHeadersToSign);
+ $canonicalHeader = $this->getCanonicalHeaders($headersToSign);
+ $signedHeaders = strtolower(trim(implode(self::$signedHeaderStringJoiner, array_keys($headersToSign))));
+
+ $authString = self::$yopAuthVersion.'/'.$accessKeyId.'/'.DateUtils::formatAlternateIso8601Date($timestamp).'/'
+ .$options->getExpirationInSeconds();
+
+ $canonicalURI = $this->getCanonicalURIPath($request->getResourcePath());
+ $canonicalRequest = $authString.self::$headerJoiner.$request->getHttpMethod().self::$headerJoiner.$canonicalURI
+ .self::$headerJoiner.$canonicalQueryString.self::$headerJoiner.$canonicalHeader;
+
+ $signature = $this->computeSignature($canonicalRequest, $credentials->getPrivateKey(),
+ $options->getDigestAlg());
+ $authorizationHeader = $options->getProtocolPrefix().' '.$authString.'/'.$signedHeaders.'/'.$signature;
+ $request->addHeader(Headers::AUTHORIZATION, $authorizationHeader);
+ }
+
+ private function calculateContentHash(Request $request)
+ {
+ $content = null;
+ if (HttpUtils::usePayloadForQueryParameters($request)) {
+ $content = HttpUtils::getCanonicalQueryString($request->getParameters(), true);
+ } else {
+ if (is_string($request->getContent())) {
+ $content = $request->getContent();
+ }
+ }
+ if (isset($content)) {
+ return hash('sha256', $content);
+ } else {
+ return null;
+ }
+ }
+
+ private function getCanonicalQueryString(Request $request)
+ {
+ if (HttpUtils::usePayloadForQueryParameters($request)) {
+ return '';
+ }
+
+ return HttpUtils::getCanonicalQueryString($request->getParameters(), true);
+ }
+
+ /**
+ * @param $path string
+ * @return string
+ */
+ private function getCanonicalURIPath($path)
+ {
+ if (empty($path)) {
+ return '/';
+ } else {
+ if ($path[0] == '/') {
+ return HttpUtils::urlEncodeExceptSlash($path);
+ } else {
+ return '/'.HttpUtils::urlEncodeExceptSlash($path);
+ }
+ }
+ }
+
+ /**
+ * @param $headers array
+ * @return string
+ */
+ private function getCanonicalHeaders($headers)
+ {
+ if (count($headers) == 0) {
+ return '';
+ }
+
+ $headerStrings = [];
+ foreach ($headers as $k => $v) {
+ if ($k === null) {
+ continue;
+ }
+ if ($v === null) {
+ $v = '';
+ }
+ $headerStrings[] = rawurlencode(
+ strtolower(trim($k))
+ ).':'.rawurlencode(trim($v));
+ }
+ sort($headerStrings);
+
+ return implode(self::$headerJoiner, $headerStrings);
+ }
+
+ /**
+ * @param $headers array
+ * @param $headersToSign array
+ * @return array
+ */
+ private function getHeadersToSign($headers, $headersToSign)
+ {
+ $ret = [];
+ if ($headersToSign !== null) {
+ $tmp = [];
+ foreach ($headersToSign as $header) {
+ $tmp[] = strtolower(trim($header));
+ }
+ $headersToSign = $tmp;
+ }
+ foreach ($headers as $k => $v) {
+ if (trim((string) $v) !== '') {
+ if ($headersToSign !== null) {
+ $k = strtolower(trim($k));
+ if (in_array($k, $headersToSign) && $k != trim(Headers::AUTHORIZATION)) {
+ $ret[$k] = $v;
+ }
+ }
+ }
+ }
+
+ return $ret;
+ }
+
+ private function computeSignature($canonicalRequest, $privateKey, $digestAlg)
+ {
+ $signature = null;
+ if (openssl_sign($canonicalRequest, $signature, $privateKey, $digestAlg)) {
+ return Encodes::base64url_encode($signature).'$'.$digestAlg;
+ }
+ throw new YopClientException('compute signature failed.');
+ }
+
+ public function checkSignature(YopHttpResponse $httpResponse, $signature, $publicKey, SignOptions $options)
+ {
+ $content = $httpResponse->readContent();
+ $content = str_replace([" ", "\n", "\t"], "", $content);
+ if (openssl_verify($content, base64_decode($signature), $publicKey, $options->getDigestAlg()) == 1) {
+ return;
+ }
+ throw new VerifySignFailedException("response sign verify failure");
+ }
+
+}
+
+RsaSigner::__init();
diff --git a/lib/Auth/SignerFactory.php b/lib/Auth/SignerFactory.php
new file mode 100644
index 0000000..3c9bc9f
--- /dev/null
+++ b/lib/Auth/SignerFactory.php
@@ -0,0 +1,29 @@
+appKey = $appKey;
+ $this->privateKey = $privateKey;
+ $this->encryptKey = $encryptKey;
+ }
+
+ /**
+ * @return string
+ */
+ public function getAppKey()
+ {
+ return $this->appKey;
+ }
+
+ /**
+ * @param string $appKey
+ * @return YopRsaCredentials
+ */
+ public function setAppKey($appKey)
+ {
+ $this->appKey = $appKey;
+
+ return $this;
+ }
+
+ /**
+ * @return resource
+ */
+ public function getPrivateKey()
+ {
+ return $this->privateKey;
+ }
+
+ /**
+ * @param resource $privateKey
+ * @return YopRsaCredentials
+ */
+ public function setPrivateKey($privateKey)
+ {
+ $this->privateKey = $privateKey;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getEncryptKey()
+ {
+ return $this->encryptKey;
+ }
+
+ /**
+ * @param string $encryptKey
+ * @return YopRsaCredentials
+ */
+ public function setEncryptKey($encryptKey)
+ {
+ $this->encryptKey = $encryptKey;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Client/ClientExecutionParams.php b/lib/Client/ClientExecutionParams.php
new file mode 100644
index 0000000..9bb2bd5
--- /dev/null
+++ b/lib/Client/ClientExecutionParams.php
@@ -0,0 +1,100 @@
+request = $request;
+ $this->requestMarshaller = $requestMarshaller;
+ $this->responseUnMarshaller = $responseUnMarshaller;
+ }
+
+ /**
+ * @return BaseRequest
+ */
+ public function getRequest()
+ {
+ return $this->request;
+ }
+
+ /**
+ * @param BaseRequest $request
+ * @return ClientExecutionParams
+ */
+ public function setRequest(BaseRequest $request)
+ {
+ $this->request = $request;
+
+ return $this;
+ }
+
+ /**
+ * @return RequestMarshaller
+ */
+ public function getRequestMarshaller()
+ {
+ return $this->requestMarshaller;
+ }
+
+ /**
+ * @param RequestMarshaller $requestMarshaller
+ * @return ClientExecutionParams
+ */
+ public function setRequestMarshaller(RequestMarshaller $requestMarshaller)
+ {
+ $this->requestMarshaller = $requestMarshaller;
+
+ return $this;
+ }
+
+ /**
+ * @return ResponseUnMarshaller
+ */
+ public function getResponseUnMarshaller()
+ {
+ return $this->responseUnMarshaller;
+ }
+
+ /**
+ * @param ResponseUnMarshaller $responseUnMarshaller
+ * @return ClientExecutionParams
+ */
+ public function setResponseUnMarshaller(ResponseUnMarshaller $responseUnMarshaller)
+ {
+ $this->responseUnMarshaller = $responseUnMarshaller;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Client/ClientHandler.php b/lib/Client/ClientHandler.php
new file mode 100644
index 0000000..ed96999
--- /dev/null
+++ b/lib/Client/ClientHandler.php
@@ -0,0 +1,133 @@
+credentialsProvider = $clientParams->getCredentialsProvider();
+ $this->authorizationReqRegistry = $clientParams->getAuthorizationReqRegistry();
+ $this->yopHttpClient = new YopHttpClient($clientParams->getClientConfiguration());
+ $this->gatewayRouter = new GateWayRouter(new ServerRootSpace($clientParams->getEndPoint(),
+ $clientParams->getYosEndPoint(),
+ $clientParams->getSandboxEndPoint()),
+ $clientParams->getModes());
+ }
+
+ /**
+ * @param ClientExecutionParams $executionParams
+ * @return mixed
+ * @throws YopClientException
+ */
+ public function execute(ClientExecutionParams $executionParams)
+ {
+
+ $executionContext = $this->getExecutionContext($executionParams);
+ $request = $executionParams->getRequestMarshaller()->marshal($executionParams->getRequest());
+
+ /** @var ExecutionContext $httpExecutionContext */
+ $httpExecutionContext = $executionContext[0];
+ $request->setEndpoint($this->gatewayRouter->route($httpExecutionContext->getCredentials()->getAppKey(),
+ $request));
+ $yopHttpResponse = $this->yopHttpClient->execute($request, $httpExecutionContext);
+ /** @var ResponseUnMarshalParams $ResponseUnMarshalParams */
+ $ResponseUnMarshalParams = $executionContext[1];
+
+ return $executionParams->getResponseUnMarshaller()->unmarshal($yopHttpResponse, $ResponseUnMarshalParams);
+ }
+
+ /**
+ * @param ClientExecutionParams $executionParams
+ * @return array
+ * @throws YopClientException
+ */
+ private function getExecutionContext(ClientExecutionParams $executionParams)
+ {
+ $httpExecutionContext = new ExecutionContext();
+ $ResponseUnMarshalParams = new ResponseUnMarshalParams();
+
+ $request = $executionParams->getRequest();
+ $authorizationReq = $this->authorizationReqRegistry->getAuthorizationReq($request::getOperationId());
+ if (isset($authorizationReq)) {
+ $signer = SignerFactory::getSigner($authorizationReq->getSignerType());
+ $signOptions = new SignOptions($authorizationReq->getDigestAlg(), $authorizationReq->getProtocolPrefix());
+ $httpExecutionContext->setSigner($signer)->setSignOptions($signOptions);
+ $ResponseUnMarshalParams->setSigner($signer)->setSignOptions($signOptions)
+ ->setPublicKey($this->credentialsProvider->getYopPublicKey($authorizationReq->getCredentialType()));
+
+ $credentials = null;
+ $requestConfig = $request->getRequestConfig();
+ $needEncrypt = false;
+ if (isset($requestConfig)) {
+ if (!empty($requestConfig->getCredentials())) {
+ $credentials = $requestConfig->getCredentials();
+ } else {
+ $customAppKey = $requestConfig->getAppKey();
+ if (!empty($customAppKey)) {
+ $credentials = $this->credentialsProvider->getCredential($customAppKey,
+ $authorizationReq->getCredentialType());
+ if (!isset($credentials)) {
+ throw new YopClientException('no credentials specified, appKey:'.$customAppKey
+ .', credentialType:'.$authorizationReq->getCredentialType());
+ }
+ }
+ }
+ $needEncrypt = $requestConfig->isNeedEncrypt();
+ }
+ if (!isset($credentials)) {
+ $credentials = $this->credentialsProvider->getDefaultAppCredential($authorizationReq->getCredentialType());
+ }
+ if (!isset($credentials)) {
+ throw new YopClientException('no credentials specified for defaultAppKey, credentialType:'
+ .$authorizationReq->getCredentialType());
+ }
+ $httpExecutionContext->setCredentials($credentials);
+ if ($needEncrypt) {
+ $encryptor = new DefaultEncryptor($credentials->getEncryptKey());
+ $httpExecutionContext->setNeedEncrypt(true)->setEncryptor($encryptor);
+ $ResponseUnMarshalParams->setNeedDecrypt(true)->setEncryptor($encryptor);
+ }
+
+ return [$httpExecutionContext, $ResponseUnMarshalParams];
+ } else {
+ throw new YopClientException("no securityReq assigned, api:".$request::getOperationId());
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Client/ClientParams.php b/lib/Client/ClientParams.php
new file mode 100644
index 0000000..7e131b1
--- /dev/null
+++ b/lib/Client/ClientParams.php
@@ -0,0 +1,181 @@
+endPoint;
+ }
+
+ /**
+ * @param Uri $endPoint
+ * @return ClientParams
+ */
+ public function setEndPoint($endPoint)
+ {
+ $this->endPoint = $endPoint;
+
+ return $this;
+ }
+
+ /**
+ * @return Uri
+ */
+ public function getYosEndPoint()
+ {
+ return $this->yosEndPoint;
+ }
+
+ /**
+ * @param Uri $yosEndPoint
+ * @return ClientParams
+ */
+ public function setYosEndPoint($yosEndPoint)
+ {
+ $this->yosEndPoint = $yosEndPoint;
+
+ return $this;
+ }
+
+ /**
+ * @return Uri
+ */
+ public function getSandboxEndPoint()
+ {
+ return $this->sandboxEndPoint;
+ }
+
+ /**
+ * @param Uri $sandboxEndPoint
+ * @return ClientParams
+ */
+ public function setSandboxEndPoint($sandboxEndPoint)
+ {
+ $this->sandboxEndPoint = $sandboxEndPoint;
+
+ return $this;
+ }
+
+ /**
+ * @return ClientConfiguration
+ */
+ public function getClientConfiguration()
+ {
+ return $this->clientConfiguration;
+ }
+
+ /**
+ * @param ClientConfiguration $clientConfiguration
+ * @return ClientParams
+ */
+ public function setClientConfiguration($clientConfiguration)
+ {
+ $this->clientConfiguration = $clientConfiguration;
+
+ return $this;
+ }
+
+ /**
+ * @return AuthorizationReqRegistry
+ */
+ public function getAuthorizationReqRegistry()
+ {
+ return $this->authorizationReqRegistry;
+ }
+
+ /**
+ * @param AuthorizationReqRegistry $authorizationReqRegistry
+ * @return ClientParams
+ */
+ public function setAuthorizationReqRegistry($authorizationReqRegistry)
+ {
+ $this->authorizationReqRegistry = $authorizationReqRegistry;
+
+ return $this;
+ }
+
+ /**
+ * @return YopCredentialProvider
+ */
+ public function getCredentialsProvider()
+ {
+ return $this->credentialsProvider;
+ }
+
+ /**
+ * @param YopCredentialProvider $credentialsProvider
+ * @return ClientParams
+ */
+ public function setCredentialsProvider($credentialsProvider)
+ {
+ $this->credentialsProvider = $credentialsProvider;
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getModes()
+ {
+ return $this->modes;
+ }
+
+ /**
+ * @param array $modes
+ * @return ClientParams
+ */
+ public function setModes($modes)
+ {
+ $this->modes = $modes;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Client/GateWayRouter.php b/lib/Client/GateWayRouter.php
new file mode 100644
index 0000000..99201d9
--- /dev/null
+++ b/lib/Client/GateWayRouter.php
@@ -0,0 +1,104 @@
+serverRootSpace = $serverRootSpace;
+ $this->independentApiGroups = ["bank-encryption"];
+ $this->defaultMode = getenv("yop.sdk.mode");
+ $this->modes = $modes;
+ }
+
+ /**
+ * @param $appKey string
+ * @param $request Request
+ * @return Uri
+ */
+ public function route($appKey, $request)
+ {
+ if ($this->isAppInSandboxMode($appKey)) {
+ return $this->serverRootSpace->getSandboxServerRoot();
+ } else {
+ $serverRoot = $request->getYosFlag() ? $this->serverRootSpace->getYosServerRoot() :
+ $this->serverRootSpace->getServerRoot();
+ $apiGroup = str_replace('_', '-', strtolower($request->getServiceName()));
+ if (in_array($apiGroup, $this->independentApiGroups)) {
+ $result = new Uri();
+ $result->withScheme($serverRoot->getScheme());
+ $result->withHost($serverRoot->getHost());
+ $result->withPort($serverRoot->getPort());
+ $result->withPath($serverRoot->getPath());
+ $result->withUserInfo($serverRoot->getUserInfo());
+ $result->withQuery($serverRoot->getQuery());
+ $result->withFragment($serverRoot->getFragment());
+
+ return $result;
+ } else {
+ return $serverRoot;
+ }
+ }
+ }
+
+ /**
+ * @param string $appKey
+ * @return bool
+ */
+ private function isAppInSandboxMode($appKey)
+ {
+ if (empty($this->defaultMode)) {
+ return isset($this->modes[$appKey]) && $this->modes[$appKey] = Mode::SANDBOX;
+ }
+
+ return $this->defaultMode == Mode::SANDBOX;
+ }
+
+ /**
+ * @param string $apiGroup
+ * @param string $originHost
+ * @param bool $isYosRequest
+ * @return string
+ */
+ private function getIndependentApiGroupHost($apiGroup, $originHost, $isYosRequest)
+ {
+ if ($isYosRequest) {
+ return $originHost;
+ }
+ $index = strpos($originHost, '.');
+
+ return substr($originHost, 0, $index).'_'.$apiGroup.substr($originHost, $index, -1);
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Client/ServerRootSpace.php b/lib/Client/ServerRootSpace.php
new file mode 100644
index 0000000..12bc3cd
--- /dev/null
+++ b/lib/Client/ServerRootSpace.php
@@ -0,0 +1,77 @@
+serverRoot = isset($serverRoot) ? $serverRoot : self::$defaultServerRoot;
+ $this->yosServerRoot = isset($yosServerRoot) ? $yosServerRoot : self::$defaultYosServerRoot;
+ $this->sandboxServerRoot = isset($sandboxServerRoot) ? $sandboxServerRoot : self::$defaultSandboxServerRoot;
+ }
+
+ /**
+ * @return Uri
+ */
+ public function getServerRoot()
+ {
+ return $this->serverRoot;
+ }
+
+ /**
+ * @return Uri
+ */
+ public function getYosServerRoot()
+ {
+ return $this->yosServerRoot;
+ }
+
+ /**
+ * @return Uri
+ */
+ public function getSandboxServerRoot()
+ {
+ return $this->sandboxServerRoot;
+ }
+
+}
+
+ServerRootSpace::__init();
\ No newline at end of file
diff --git a/lib/Client/Support/ClientParamsSupport.php b/lib/Client/Support/ClientParamsSupport.php
new file mode 100644
index 0000000..9032e8b
--- /dev/null
+++ b/lib/Client/Support/ClientParamsSupport.php
@@ -0,0 +1,67 @@
+setCredentialsProvider(new DefaultCredentialProvider($appSdkConfigProvider));
+ $defaultAppSdkConfig = $appSdkConfigProvider->getDefaultConfig();
+ if (!empty($defaultAppSdkConfig->getServerRoot())) {
+ $clientParams->setEndPoint(new Uri($defaultAppSdkConfig->getServerRoot()));
+ }
+ if (!empty($defaultAppSdkConfig->getYosServerRoot())) {
+ $clientParams->setYosEndPoint(new Uri($defaultAppSdkConfig->getYosServerRoot()));
+ }
+ if (!empty($defaultAppSdkConfig->getSandboxServerRoot())) {
+ $clientParams->setSandboxEndPoint(new Uri($defaultAppSdkConfig->getSandboxServerRoot()));
+ }
+ $clientConfigurations = new ClientConfiguration();
+ if (!empty($defaultAppSdkConfig->getHttpClientConfig())) {
+ $httpClientConfig = $defaultAppSdkConfig->getHttpClientConfig();
+ $clientConfigurations->setSocketTimeoutInMillis($httpClientConfig['read_timeout']);
+ $clientConfigurations->setConnectionTimeoutInMillis($httpClientConfig['connect_timeout']);
+ }
+ if (!empty($defaultAppSdkConfig->getProxy())) {
+ $proxyConfig = $defaultAppSdkConfig->getProxy();
+ $parts = [
+ 'scheme' => $proxyConfig->getScheme(), 'host' => $proxyConfig->getHost(),
+ 'port' => $proxyConfig->getPort(),
+ ];
+ if (!empty($proxyConfig->getUsername()) && !empty($proxyConfig->getPort())) {
+ $parts['user'] = $proxyConfig->getUsername();
+ $parts['pass'] = $proxyConfig->getPassword();
+ }
+ $proxyURI = new Uri($parts);
+ $clientConfigurations->setProxyUrl($proxyURI->__toString());
+ }
+ $clientParams->setClientConfiguration($clientConfigurations);
+ $modes = [];
+ foreach ($appSdkConfigProvider->getAllConfig() as $appKey => $appKeySdkConfig) {
+ /* @var $appKeySdkConfig AppSdkConfig */
+ if (!empty($appKeySdkConfig->getMode())) {
+ $modes[$appKey] = $appKeySdkConfig->getMode();
+ }
+ }
+ $clientParams->setModes($modes);
+
+ return $clientParams;
+ }
+
+}
diff --git a/lib/Config/AppSdkConfig.php b/lib/Config/AppSdkConfig.php
new file mode 100644
index 0000000..16cc8e3
--- /dev/null
+++ b/lib/Config/AppSdkConfig.php
@@ -0,0 +1,467 @@
+appKey = $data['app_key'];
+ }
+ if (isset($data['server_root'])) {
+ $this->serverRoot = $data['server_root'];
+ }
+ if (isset($data['yos_server_root'])) {
+ $this->yosServerRoot = $data['yos_server_root'];
+ }
+ if (isset($data['sandbox_server_root'])) {
+ $this->sandboxServerRoot = $data['sandbox_server_root'];
+ }
+ if (isset($data['aesSecretKey'])) {
+ $this->aesSecretKey = $data['aesSecretKey'];
+ }
+ if (isset($data['yop_public_key'])) {
+ $publicKeys = [];
+ for ($i = 0; $i < count($data['yop_public_key']); $i++) {
+ $publicKeyConfig = $data['yop_public_key'][$i];
+ $certs = ConfigUtils::loadPublicKey($publicKeyConfig);
+ $publicKeys[$certs[0]] = $certs[1];
+ if ($i == 0) {
+ $this->defaultPublicKey = $certs[1];
+ }
+ }
+ $this->yopPublicKeys = $publicKeys;
+ }
+ if (isset($data['isv_private_key'])) {
+ $privateKeys = [];
+ for ($i = 0; $i < count($data['isv_private_key']); $i++) {
+ $privateKeyConfig = $data['isv_private_key'][$i];
+ $certs = ConfigUtils::loadPrivateKey($privateKeyConfig);
+ $privateKeys[$certs[0]] = $certs[1];
+ if ($i == 0) {
+ $this->defaultIsvPrivateKey = $certs[1];
+ }
+ }
+ $this->isvPrivateKeys = $privateKeys;
+ }
+ if (isset($data['encrypt_key'])) {
+ $this->encryptKey = $data['encrypt_key'];
+ }
+ if (isset($data['http_client'])) {
+ $this->httpClientConfig = $data['http_client'];
+ }
+ if (isset($data['trust_all_certs'])) {
+ $this->trustAllCerts = $data['trust_all_certs'];
+ }
+ if (isset($data['proxy'])) {
+ $proxyConfig = $data['proxy'];
+ $this->proxy = new ProxyConfig($proxyConfig['host'], $proxyConfig['port'], $proxyConfig['scheme'],
+ $proxyConfig['username'],
+ $proxyConfig['password'], $proxyConfig['domain'], $proxyConfig['workstation']);
+ }
+ if (isset($data['region'])) {
+ $this->region = $data['region'];
+ }
+ if (isset($data['default'])) {
+ $this->default = $data['default'];
+ }
+ if (isset($data['mode'])) {
+ $this->mode = $data['mode'];
+ }
+ }
+
+ /**
+ * @return string
+ */
+ public function getAppKey()
+ {
+ return $this->appKey;
+ }
+
+ /**
+ * @param string $appKey
+ * @return AppSdkConfig
+ */
+ public function setAppKey($appKey)
+ {
+ $this->appKey = $appKey;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getServerRoot()
+ {
+ return $this->serverRoot;
+ }
+
+ /**
+ * @param string $serverRoot
+ * @return AppSdkConfig
+ */
+ public function setServerRoot($serverRoot)
+ {
+ $this->serverRoot = $serverRoot;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getYosServerRoot()
+ {
+ return $this->yosServerRoot;
+ }
+
+ /**
+ * @param string $yosServerRoot
+ * @return AppSdkConfig
+ */
+ public function setYosServerRoot($yosServerRoot)
+ {
+ $this->yosServerRoot = $yosServerRoot;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSandboxServerRoot()
+ {
+ return $this->sandboxServerRoot;
+ }
+
+ /**
+ * @param string $sandboxServerRoot
+ * @return AppSdkConfig
+ */
+ public function setSandboxServerRoot($sandboxServerRoot)
+ {
+ $this->sandboxServerRoot = $sandboxServerRoot;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getAesSecretKey()
+ {
+ return $this->aesSecretKey;
+ }
+
+ /**
+ * @param string $aesSecretKey
+ * @return AppSdkConfig
+ */
+ public function setAesSecretKey($aesSecretKey)
+ {
+ $this->aesSecretKey = $aesSecretKey;
+
+ return $this;
+ }
+
+ /**
+ * @return resource|string
+ */
+ public function getDefaultPublicKey()
+ {
+ return $this->defaultPublicKey;
+ }
+
+ /**
+ * @param resource|string $defaultPublicKey
+ * @return AppSdkConfig
+ */
+ public function setDefaultPublicKey($defaultPublicKey)
+ {
+ $this->defaultPublicKey = $defaultPublicKey;
+
+ return $this;
+ }
+
+ /**
+ * @return resource|string
+ */
+ public function getDefaultIsvPrivateKey()
+ {
+ return $this->defaultIsvPrivateKey;
+ }
+
+ /**
+ * @param resource|string $defaultIsvPrivateKey
+ * @return AppSdkConfig
+ */
+ public function setDefaultIsvPrivateKey($defaultIsvPrivateKey)
+ {
+ $this->defaultIsvPrivateKey = $defaultIsvPrivateKey;
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getHttpClientConfig()
+ {
+ return $this->httpClientConfig;
+ }
+
+ /**
+ * @param array $httpClientConfig
+ * @return AppSdkConfig
+ */
+ public function setHttpClientConfig($httpClientConfig)
+ {
+ $this->httpClientConfig = $httpClientConfig;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getEncryptKey()
+ {
+ return $this->encryptKey;
+ }
+
+ /**
+ * @param string $encryptKey
+ * @return AppSdkConfig
+ */
+ public function setEncryptKey($encryptKey)
+ {
+ $this->encryptKey = $encryptKey;
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getYopPublicKeys()
+ {
+ return $this->yopPublicKeys;
+ }
+
+ /**
+ * @param array $yopPublicKeys
+ * @return AppSdkConfig
+ */
+ public function setYopPublicKeys($yopPublicKeys)
+ {
+ $this->yopPublicKeys = $yopPublicKeys;
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getIsvPrivateKeys()
+ {
+ return $this->isvPrivateKeys;
+ }
+
+ /**
+ * @param array $isvPrivateKeys
+ * @return AppSdkConfig
+ */
+ public function setIsvPrivateKeys($isvPrivateKeys)
+ {
+ $this->isvPrivateKeys = $isvPrivateKeys;
+
+ return $this;
+ }
+
+ /**
+ * @return ProxyConfig
+ */
+ public function getProxy()
+ {
+ return $this->proxy;
+ }
+
+ /**
+ * @param ProxyConfig $proxy
+ * @return AppSdkConfig
+ */
+ public function setProxy($proxy)
+ {
+ $this->proxy = $proxy;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * @param string $region
+ * @return AppSdkConfig
+ */
+ public function setRegion($region)
+ {
+ $this->region = $region;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getMode()
+ {
+ return $this->mode;
+ }
+
+ /**
+ * @param string $mode
+ * @return AppSdkConfig
+ */
+ public function setMode($mode)
+ {
+ $this->mode = $mode;
+
+ return $this;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isTrustAllCerts()
+ {
+ return $this->trustAllCerts;
+ }
+
+ /**
+ * @param bool $trustAllCerts
+ * @return AppSdkConfig
+ */
+ public function setTrustAllCerts($trustAllCerts)
+ {
+ $this->trustAllCerts = $trustAllCerts;
+
+ return $this;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isDefault()
+ {
+ return $this->default;
+ }
+
+ /**
+ * @param bool $default
+ * @return AppSdkConfig
+ */
+ public function setDefault($default)
+ {
+ $this->default = $default;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Config/AppSdkConfigProvider.php b/lib/Config/AppSdkConfigProvider.php
new file mode 100644
index 0000000..10c4988
--- /dev/null
+++ b/lib/Config/AppSdkConfigProvider.php
@@ -0,0 +1,24 @@
+default = $config;
+ $this->configContainer = [$config->getAppKey() => $config];
+ } else {
+ if (empty($config)) {
+ throw new YopClientException("config is empty.");
+ }
+ $this->configContainer = [];
+ $this->default = $config[0];
+ foreach ($config as $item) {
+ $this->configContainer[$item->getAppKey()] = $item;
+ if ($item->isDefault()) {
+ $this->default = $item;
+ }
+ }
+ }
+ }
+
+ /**
+ * @param $appKey string
+ * @return AppSdkConfig
+ */
+ public function getConfig($appKey)
+ {
+ return $this->configContainer[$appKey];
+ }
+
+ /**
+ * @return AppSdkConfig
+ */
+ public function getDefaultConfig()
+ {
+ return $this->default;
+ }
+
+ /**
+ * @return array
+ */
+ public function getAllConfig()
+ {
+ return $this->configContainer;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Config/Mode.php b/lib/Config/Mode.php
new file mode 100644
index 0000000..bf4bdb9
--- /dev/null
+++ b/lib/Config/Mode.php
@@ -0,0 +1,12 @@
+host = $host;
+ $this->port = $port;
+ $this->scheme = $scheme;
+ $this->username = $username;
+ $this->password = $password;
+ $this->domain = $domain;
+ $this->workstation = $workstation;
+ }
+
+ /**
+ * @return string
+ */
+ public function getHost()
+ {
+ return $this->host;
+ }
+
+ /**
+ * @param string $host
+ * @return ProxyConfig
+ */
+ public function setHost($host)
+ {
+ $this->host = $host;
+
+ return $this;
+ }
+
+ /**
+ * @return int
+ */
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ /**
+ * @param int $port
+ * @return ProxyConfig
+ */
+ public function setPort($port)
+ {
+ $this->port = $port;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getScheme()
+ {
+ return $this->scheme;
+ }
+
+ /**
+ * @param string $scheme
+ * @return ProxyConfig
+ */
+ public function setScheme($scheme)
+ {
+ $this->scheme = $scheme;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getUsername()
+ {
+ return $this->username;
+ }
+
+ /**
+ * @param string $username
+ * @return ProxyConfig
+ */
+ public function setUsername($username)
+ {
+ $this->username = $username;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ /**
+ * @param string $password
+ * @return ProxyConfig
+ */
+ public function setPassword($password)
+ {
+ $this->password = $password;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+
+ /**
+ * @param string $domain
+ * @return ProxyConfig
+ */
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getWorkstation()
+ {
+ return $this->workstation;
+ }
+
+ /**
+ * @param string $workstation
+ * @return ProxyConfig
+ */
+ public function setWorkstation($workstation)
+ {
+ $this->workstation = $workstation;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Config/Support/ConfigUtils.php b/lib/Config/Support/ConfigUtils.php
new file mode 100644
index 0000000..efbc1d3
--- /dev/null
+++ b/lib/Config/Support/ConfigUtils.php
@@ -0,0 +1,86 @@
+errorCode = $errorCode;
+ $this->errorMessage = $errorMessage;
+ }
+
+ /**
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+
+ /**
+ * @param string $requestId
+ * @return YopServiceException
+ */
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+
+ /**
+ * @param string $errorCode
+ * @return YopServiceException
+ */
+ public function setErrorCode($errorCode)
+ {
+ $this->errorCode = $errorCode;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSubErrorCode()
+ {
+ return $this->subErrorCode;
+ }
+
+ /**
+ * @param string $subErrorCode
+ * @return YopServiceException
+ */
+ public function setSubErrorCode($subErrorCode)
+ {
+ $this->subErrorCode = $subErrorCode;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getErrorType()
+ {
+ return $this->errorType;
+ }
+
+ /**
+ * @param string $errorType
+ * @return YopServiceException
+ */
+ public function setErrorType($errorType)
+ {
+ $this->errorType = $errorType;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+
+ /**
+ * @param string $errorMessage
+ * @return YopServiceException
+ */
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSubErrorMessage()
+ {
+ return $this->subErrorMessage;
+ }
+
+ /**
+ * @param string $subErrorMessage
+ * @return YopServiceException
+ */
+ public function setSubErrorMessage($subErrorMessage)
+ {
+ $this->subErrorMessage = $subErrorMessage;
+
+ return $this;
+ }
+
+ /**
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->statusCode;
+ }
+
+ /**
+ * @param int $statusCode
+ * @return YopServiceException
+ */
+ public function setStatusCode($statusCode)
+ {
+ $this->statusCode = $statusCode;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Http/ClientConfiguration.php b/lib/Http/ClientConfiguration.php
new file mode 100644
index 0000000..23b0da6
--- /dev/null
+++ b/lib/Http/ClientConfiguration.php
@@ -0,0 +1,201 @@
+connectionTimeoutInMillis = $connectionTimeoutInMillis;
+ $this->socketTimeoutInMillis = $socketTimeoutInMillis;
+
+ $this->userAgent = isset($userAgent) ? $userAgent : self::$defaultUserAgent;
+ $this->region = isset($region) ? $region : self::$defaultRegion;
+
+ $this->proxyUrl = $proxyUrl;
+ }
+
+ public static function __init()
+ {
+ self::$defaultUserAgent = YopConstants::LANG.'/'.YopConstants::VERSION.'/'.php_uname('s').'/'.php_uname('r').'/m/m/'.phpversion();
+ }
+
+ /**
+ * @var string
+ */
+ private $userAgent;
+
+ /**
+ * @var string
+ */
+ private $proxyUrl;
+
+ /**
+ * @var float
+ */
+ private $connectionTimeoutInMillis;
+
+ /**
+ * @var float
+ */
+ private $socketTimeoutInMillis;
+
+ /**
+ * @var string
+ */
+ private $region;
+
+ /**
+ * @return mixed
+ */
+ public static function getDefaultUserAgent()
+ {
+ return self::$defaultUserAgent;
+ }
+
+ /**
+ * @param mixed $defaultUserAgent
+ */
+ public static function setDefaultUserAgent($defaultUserAgent)
+ {
+ self::$defaultUserAgent = $defaultUserAgent;
+ }
+
+ /**
+ * @return string
+ */
+ public static function getDefaultRegion()
+ {
+ return self::$defaultRegion;
+ }
+
+ /**
+ * @param string $defaultRegion
+ */
+ public static function setDefaultRegion($defaultRegion)
+ {
+ self::$defaultRegion = $defaultRegion;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+
+ /**
+ * @param mixed $userAgent
+ * @return ClientConfiguration
+ */
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProxyUrl()
+ {
+ return $this->proxyUrl;
+ }
+
+ /**
+ * @param string $proxyUrl
+ * @return ClientConfiguration
+ */
+ public function setProxyUrl($proxyUrl)
+ {
+ $this->proxyUrl = $proxyUrl;
+
+ return $this;
+ }
+
+ /**
+ * @return float
+ */
+ public function getConnectionTimeoutInMillis()
+ {
+ return $this->connectionTimeoutInMillis;
+ }
+
+ /**
+ * @param float $connectionTimeoutInMillis
+ * @return ClientConfiguration
+ */
+ public function setConnectionTimeoutInMillis($connectionTimeoutInMillis)
+ {
+ $this->connectionTimeoutInMillis = $connectionTimeoutInMillis;
+
+ return $this;
+ }
+
+ /**
+ * @return float
+ */
+ public function getSocketTimeoutInMillis()
+ {
+ return $this->socketTimeoutInMillis;
+ }
+
+ /**
+ * @param float $socketTimeoutInMillis
+ * @return ClientConfiguration
+ */
+ public function setSocketTimeoutInMillis($socketTimeoutInMillis)
+ {
+ $this->socketTimeoutInMillis = $socketTimeoutInMillis;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * @param string $region
+ * @return ClientConfiguration
+ */
+ public function setRegion($region)
+ {
+ $this->region = $region;
+
+ return $this;
+ }
+
+}
+
+ClientConfiguration::__init();
\ No newline at end of file
diff --git a/lib/Http/ContentType.php b/lib/Http/ContentType.php
new file mode 100644
index 0000000..161d5a1
--- /dev/null
+++ b/lib/Http/ContentType.php
@@ -0,0 +1,16 @@
+signer;
+ }
+
+ /**
+ * @param Signer $signer
+ * @return ExecutionContext
+ */
+ public function setSigner($signer)
+ {
+ $this->signer = $signer;
+
+ return $this;
+ }
+
+ /**
+ * @return SignOptions
+ */
+ public function getSignOptions()
+ {
+ return $this->signOptions;
+ }
+
+ /**
+ * @param SignOptions $signOptions
+ * @return ExecutionContext
+ */
+ public function setSignOptions($signOptions)
+ {
+ $this->signOptions = $signOptions;
+
+ return $this;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isNeedEncrypt()
+ {
+ return $this->needEncrypt;
+ }
+
+ /**
+ * @param bool $needEncrypt
+ * @return ExecutionContext
+ */
+ public function setNeedEncrypt($needEncrypt)
+ {
+ $this->needEncrypt = $needEncrypt;
+
+ return $this;
+ }
+
+ /**
+ * @return Encryptor
+ */
+ public function getEncryptor()
+ {
+ return $this->encryptor;
+ }
+
+ /**
+ * @param Encryptor $encryptor
+ * @return ExecutionContext
+ */
+ public function setEncryptor($encryptor)
+ {
+ $this->encryptor = $encryptor;
+
+ return $this;
+ }
+
+ /**
+ * @return YopRsaCredentials
+ */
+ public function getCredentials()
+ {
+ return $this->credentials;
+ }
+
+ /**
+ * @param YopRsaCredentials $credentials
+ * @return ExecutionContext
+ */
+ public function setCredentials($credentials)
+ {
+ $this->credentials = $credentials;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Http/Headers.php b/lib/Http/Headers.php
new file mode 100644
index 0000000..7b804d7
--- /dev/null
+++ b/lib/Http/Headers.php
@@ -0,0 +1,100 @@
+logger = LogFactory::getLogger(get_class($this));
+ $this->clientConfiguration = $clientConfiguration;
+ $guzzleClientConfig = [
+ RequestOptions::CONNECT_TIMEOUT => $clientConfiguration->getConnectionTimeoutInMillis() / 1000,
+ RequestOptions::TIMEOUT, $clientConfiguration->getSocketTimeoutInMillis() / 1000,
+ ];
+ if (!empty($clientConfiguration->getProxyUrl())) {
+ $guzzleClientConfig[RequestOptions::PROXY] = $clientConfiguration->getProxyUrl();
+ }
+ $this->guzzleClient = new Client($guzzleClientConfig);
+ }
+
+ /**
+ * @param Request $request
+ * @param ExecutionContext $executionContext
+ * @return YopHttpResponse
+ * @throws YopClientException
+ */
+ public function execute(Request $request, ExecutionContext $executionContext)
+ {
+ $credentials = $executionContext->getCredentials();
+ $request->addHeader(Headers::YOP_APPKEY, $credentials->getAppKey());
+ $request->addHeader(Headers::USER_AGENT, $this->clientConfiguration->getUserAgent());
+ if ($executionContext->isNeedEncrypt()) {
+ $executionContext->getEncryptor()->encrypt($request);
+ }
+ $executionContext->getSigner()
+ ->sign($request, $executionContext->getCredentials(), $executionContext->getSignOptions());
+ try {
+ $guzzleResponse = $this->sendRequest($request);
+ } catch (ServerException $e) {
+ $guzzleResponse = $e->getResponse();
+ } catch (\Throwable $e) {
+ throw new YopClientException("execute request failed:".$e->getMessage());
+ }
+
+ return new YopHttpResponse($guzzleResponse);
+ }
+
+ /**
+ * @param Request $request
+ * @return mixed|ResponseInterface
+ * @throws GuzzleException
+ * @throws YopClientException
+ */
+ private function sendRequest(Request $request)
+ {
+ $uri = $request->getEndpoint().HttpUtils::urlEncodeExceptSlash($request->getResourcePath());
+ if (!empty($request->getMultipartFiles())) {
+ if ($request->getHttpMethod() == HttpMethod::POST) {
+ $body = [];
+ if (!empty($request->getParameters())) {
+ foreach ($request->getParameters() as $k => $v) {
+ if (!empty($v)) {
+ foreach ($v as $value) {
+ $body[] = ['name' => $k, 'contents' => $value];
+ }
+ }
+ }
+ }
+ foreach ($request->getMultipartFiles() as $k => $v) {
+ $part = ['name' => $k];
+ if (!empty($v)) {
+ foreach ($v as $value) {
+ /** @var MultiPartFile $value */
+ $part['contents'] = $value->getContent();
+ $part['filename'] = $value->getFileName();
+ $body[] = $part;
+ }
+ }
+ }
+
+ return $this->guzzleClient->request($request->getHttpMethod(), $uri,
+ [
+ RequestOptions::MULTIPART => $body,
+ RequestOptions::HEADERS => $request->getHeaders(),
+ ]);
+ } else {
+ throw new YopClientException("contentType:multipart/form-data only support post request.");
+ }
+ }
+ $requestIsPostOrPut = $request->getHttpMethod() == HttpMethod::POST || $request->getHttpMethod() == HttpMethod::PUT;
+ $requestHasPayload = !empty($request->getContent());
+ $putParamsInUri = !$requestIsPostOrPut || $requestHasPayload;
+ if ($putParamsInUri) {
+ $encodedParameters = \GuzzleHttp\Psr7\Query::build(HttpUtils::encodedParameters($request->getParameters()));
+ if (!empty($encodedParameters)) {
+ $uri = $uri.'?'.$encodedParameters;
+ }
+ }
+ $requestOptions = [RequestOptions::HEADERS => $request->getHeaders()];
+ if ($requestHasPayload) {
+ $requestOptions[RequestOptions::BODY] = $request->getContent();
+ } else {
+ if ($requestIsPostOrPut) {
+ $requestOptions[RequestOptions::BODY] = \GuzzleHttp\Psr7\Query::build(HttpUtils::encodedParameters($request->getParameters()));
+ }
+ }
+
+ return $this->guzzleClient->request($request->getHttpMethod(), $uri, $requestOptions);
+ }
+
+}
diff --git a/lib/Http/YopHttpResponse.php b/lib/Http/YopHttpResponse.php
new file mode 100644
index 0000000..42d985c
--- /dev/null
+++ b/lib/Http/YopHttpResponse.php
@@ -0,0 +1,140 @@
+httpResponse = $response;
+ $this->stream = $response->getBody();
+ }
+
+ /**
+ * @param string $name
+ * @return null | string
+ */
+ public function getHeader($name)
+ {
+ $values = $this->httpResponse->getHeader($name);
+ if (empty($values)) {
+ return null;
+ } else {
+ return $values[0];
+ }
+ }
+
+ /**
+ * @param string $name
+ * @return float
+ */
+ public function getHeaderAsLong($name)
+ {
+ $values = $this->httpResponse->getHeader($name);
+ if (empty($values)) {
+ return -1;
+ } else {
+ return floatval($values[0]);
+ }
+ }
+
+ /**
+ * @param $name
+ * @return DateTime|null
+ */
+ public function getHeaderAsRFC822Date($name)
+ {
+ $values = $this->httpResponse->getHeader($name);
+ if (empty($values)) {
+ return null;
+ } else {
+ try {
+ return DateUtils::parseRfc822Date($values[0]);
+ } catch (Exception $e) {
+ self::$logger->warning('Invalid '.$name.':'.$values[0]);
+ }
+ }
+ }
+
+ /**
+ * @return StreamInterface
+ */
+ public function getContent()
+ {
+ return $this->stream;
+ }
+
+ /**
+ * @return string
+ */
+ public function readContent()
+ {
+ if (isset($this->content)) {
+ return $this->content;
+ }
+ $this->content = $this->stream->__toString();
+ $this->stream->close();
+
+ return $this->content;
+ }
+
+ /**
+ * @return int
+ */
+ public function getStatusCode()
+ {
+ return $this->httpResponse->getStatusCode();
+ }
+
+ /**
+ * @return string
+ */
+ public function getStatusText()
+ {
+ return implode(' ', [
+ $this->httpResponse->getProtocolVersion(), $this->httpResponse->getStatusCode(),
+ $this->httpResponse->getReasonPhrase(),
+ ]);
+ }
+
+}
+
+YopHttpResponse::__init();
\ No newline at end of file
diff --git a/lib/Internal/DefaultRequest.php b/lib/Internal/DefaultRequest.php
new file mode 100644
index 0000000..7a2a4fc
--- /dev/null
+++ b/lib/Internal/DefaultRequest.php
@@ -0,0 +1,248 @@
+serviceName = $serviceName;
+ }
+
+ /**
+ * @return array
+ */
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ /**
+ * @param array $headers
+ */
+ public function setHeaders(array $headers)
+ {
+ $this->headers = $headers;
+ }
+
+ /**
+ * @param string $name
+ * @param string $value
+ */
+ public function addHeader($name, $value)
+ {
+ $this->headers[$name] = $value;
+ }
+
+ /**
+ * @return string
+ */
+ public function getResourcePath()
+ {
+ return $this->resourcePath;
+ }
+
+ /**
+ * @param string $path
+ */
+ public function setResourcePath($path)
+ {
+ $this->resourcePath = $path;
+ }
+
+ /**
+ * @return array
+ */
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+
+ /**
+ * @param array $parameters
+ */
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+
+ /**
+ * @param string $name
+ * @param array $values
+ */
+ public function addParameters($name, array $values)
+ {
+ $this->parameters[$name] = $values;
+ }
+
+ /**
+ * @param string $name
+ * @param string $value
+ */
+ public function addParameter($name, $value)
+ {
+ if (isset($this->parameters[$name])) {
+ $values = $this->parameters[$name];
+ $values[] = $value;
+ } else {
+ $this->parameters[$name] = [$value];
+ }
+ }
+
+ /**
+ * @return array|MultiPartFile
+ */
+ public function getMultipartFiles()
+ {
+ return $this->multipartFiles;
+ }
+
+ /**
+ * @param string $name
+ * @param string|resource $file
+ */
+ public function addMultiPartFile($name, $file)
+ {
+ if (isset($this->multipartFiles[$name])) {
+ $values = $this->multipartFiles[$name];
+ $values[] = new MultiPartFile($file);
+ } else {
+ $this->multipartFiles[$name] = [new MultiPartFile($file)];
+ }
+ }
+
+ /**
+ * @return Uri
+ */
+ public function getEndpoint()
+ {
+ return $this->endpoint;
+ }
+
+ /**
+ * @param Uri $endpoint
+ */
+ public function setEndpoint(Uri $endpoint)
+ {
+ $this->endpoint = $endpoint;
+ }
+
+ /**
+ * @return string
+ */
+ public function getHttpMethod()
+ {
+ return $this->httpMethod;
+ }
+
+ /**
+ * @param string $httpMethod
+ */
+ public function setHttpMethod($httpMethod)
+ {
+ $this->httpMethod = $httpMethod;
+ }
+
+ /**
+ * @return string
+ */
+ public function getContentType()
+ {
+ return $this->headers[Headers::CONTENT_TYPE];
+ }
+
+ /**
+ * @return StreamInterface
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ /**
+ * @param $content StreamInterface
+ */
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ /**
+ * @return string
+ */
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+
+ /**
+ * @return bool
+ */
+ public function getYosFlag()
+ {
+ return $this->yosAssigned;
+ }
+
+ /**
+ * @param $flag bool
+ */
+ public function setYosFlag($flag)
+ {
+ $this->yosAssigned = $flag;
+ }
+
+}
diff --git a/lib/Internal/MultiPartFile.php b/lib/Internal/MultiPartFile.php
new file mode 100644
index 0000000..70eaef8
--- /dev/null
+++ b/lib/Internal/MultiPartFile.php
@@ -0,0 +1,75 @@
+fileName = ObjectSerializer::sanitizeFilename($file);
+ $this->content = \GuzzleHttp\Psr7\Utils::streamFor($file);
+ } else {
+ $meta_data = stream_get_meta_data($file);
+ $this->fileName = ObjectSerializer::sanitizeFilename($meta_data['uri']);
+ $this->content = \GuzzleHttp\Psr7\Utils::streamFor($file);
+ }
+ }
+
+ /**
+ * @return string
+ */
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+
+ /**
+ * @param string $fileName
+ * @return MultiPartFile
+ */
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+
+ return $this;
+ }
+
+ /**
+ * @return StreamInterface
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ /**
+ * @param StreamInterface $content
+ * @return MultiPartFile
+ */
+ public function setContent($content)
+ {
+ $this->content = $content;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Internal/Request.php b/lib/Internal/Request.php
new file mode 100644
index 0000000..7946f8f
--- /dev/null
+++ b/lib/Internal/Request.php
@@ -0,0 +1,120 @@
+ 0,
+ 'alert' => 1,
+ 'critical' => 2,
+ 'error' => 3,
+ 'warning' => 4,
+ 'notice' => 5,
+ 'info' => 6,
+ 'debug' => 7,
+ ];
+ LogFactory::$logLevel = 6;
+ }
+
+ /**
+ * @param LogFactoryInterface $logFactory the logFactory interface.
+ * @throws \InvalidArgumentException if $logFactory is null.
+ */
+ public static function setInstance(LogFactoryInterface $logFactory)
+ {
+ if ($logFactory === null) {
+ throw new \InvalidArgumentException(
+ '$logFactory should not be null.'
+ );
+ }
+ LogFactory::$instance = $logFactory;
+ }
+
+ /**
+ * @param string $logLevel the log level. The value can be 'emergency',
+ * 'alert', 'critical', 'error', 'warning', 'notice', 'info', or
+ * 'debug'.
+ * @throws \InvalidArgumentException if no such a log level is defined.
+ */
+ public static function setLogLevel($logLevel)
+ {
+ if (isset(LogFactory::$logLevelMapping[$logLevel])) {
+ LogFactory::$logLevel = LogFactory::$logLevelMapping[$logLevel];
+ } else {
+ throw new \InvalidArgumentException(
+ "Unrecognized log level $logLevel"
+ );
+ }
+ }
+
+ /**
+ * @return boolean true if the debug log level is enabled.
+ */
+ public static function isDebugEnabled()
+ {
+ return LogFactory::$logLevel >= 7;
+ }
+
+ /**
+ * @param $name string the name of logger
+ * @return LoggerInterface the Logger instance
+ */
+ public static function getLogger($name)
+ {
+ return LogFactory::$instance->getLogger($name);
+ }
+
+}
+
+LogFactory::__init();
diff --git a/lib/Log/LogFactoryInterface.php b/lib/Log/LogFactoryInterface.php
new file mode 100644
index 0000000..fcbfe5a
--- /dev/null
+++ b/lib/Log/LogFactoryInterface.php
@@ -0,0 +1,31 @@
+handlers = $handlers;
+ }
+
+ /**
+ * Returns \Monolog\Logger.
+ * @param string $name the name of logger
+ * @return \Monolog\Logger a monolog logger instance
+ */
+ public function getLogger($name)
+ {
+ $logger = new Logger($name);
+ if ($this->handlers !== null) {
+ foreach ($this->handlers as $handler) {
+ $logger->pushHandler($handler);
+ }
+ }
+
+ return $logger;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Log/NullLogFactory.php b/lib/Log/NullLogFactory.php
new file mode 100644
index 0000000..06d0d7d
--- /dev/null
+++ b/lib/Log/NullLogFactory.php
@@ -0,0 +1,38 @@
+requestConfig;
+ }
+
+ /**
+ * @param RequestConfig $requestConfig
+ * @return BaseRequest
+ */
+ public function setRequestConfig($requestConfig)
+ {
+ $this->requestConfig = $requestConfig;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public static function getOperationId()
+ {
+ return '';
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Model/BaseResponse.php b/lib/Model/BaseResponse.php
new file mode 100644
index 0000000..b318d80
--- /dev/null
+++ b/lib/Model/BaseResponse.php
@@ -0,0 +1,44 @@
+metadata = $this->getMetaDataInstance();
+ }
+
+ /**
+ * @return YopResponseMetadata
+ */
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ /**
+ * @return YopResponseMetadata
+ */
+ protected function getMetaDataInstance()
+ {
+ return new YopResponseMetadata();
+ }
+
+ abstract function getResultClass();
+
+ /**
+ * @param mixed $result
+ */
+ abstract function setResult($result);
+
+}
\ No newline at end of file
diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php
new file mode 100644
index 0000000..fa1c9ad
--- /dev/null
+++ b/lib/Model/ModelInterface.php
@@ -0,0 +1,57 @@
+appKey = $appKey;
+ $this->credentials = $credentials;
+ $this->customRequestHeaders = $customRequestHeaders;
+ $this->needEncrypt = $needEncrypt;
+ }
+
+ /**
+ * @return string
+ */
+ public function getAppKey()
+ {
+ return $this->appKey;
+ }
+
+ /**
+ * @param string $appKey
+ * @return RequestConfig
+ */
+ public function setAppKey($appKey)
+ {
+ $this->appKey = $appKey;
+
+ return $this;
+ }
+
+ /**
+ * @return YopRsaCredentials
+ */
+ public function getCredentials()
+ {
+ return $this->credentials;
+ }
+
+ /**
+ * @param YopRsaCredentials $credentials
+ * @return RequestConfig
+ */
+ public function setCredentials($credentials)
+ {
+ $this->credentials = $credentials;
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getCustomRequestHeaders()
+ {
+ return $this->customRequestHeaders;
+ }
+
+ /**
+ * @param array $customRequestHeaders
+ * @return RequestConfig
+ */
+ public function setCustomRequestHeaders($customRequestHeaders)
+ {
+ $this->customRequestHeaders = $customRequestHeaders;
+
+ return $this;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isNeedEncrypt()
+ {
+ return $this->needEncrypt;
+ }
+
+ /**
+ * @param bool $needEncrypt
+ * @return RequestConfig
+ */
+ public function setNeedEncrypt($needEncrypt)
+ {
+ $this->needEncrypt = $needEncrypt;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Model/Transform/BaseResponseUnMarshaller.php b/lib/Model/Transform/BaseResponseUnMarshaller.php
new file mode 100644
index 0000000..3805d72
--- /dev/null
+++ b/lib/Model/Transform/BaseResponseUnMarshaller.php
@@ -0,0 +1,150 @@
+getResponseInstance();
+ $this->handleResponseMetaData($yopHttpResponse, $response->getMetadata());
+ $this->checkSignature($yopHttpResponse, $response->getMetadata()->getYopSign(), $params);
+ $this->handleContent($yopHttpResponse, $response->getMetadata()->getContentType(), $response, $params);
+
+ return $response;
+ }
+
+ /**
+ * @return BaseResponse
+ */
+ protected abstract function getResponseInstance();
+
+ /**
+ * @param YopHttpResponse $yopHttpResponse
+ * @param YopResponseMetadata $responseMetadata
+ */
+ public function handleResponseMetaData($yopHttpResponse, YopResponseMetadata $responseMetadata)
+ {
+ $responseMetadata->setYopRequestId($yopHttpResponse->getHeader(Headers::YOP_REQUEST_ID));
+ $responseMetadata->setYopContentSha256($yopHttpResponse->getHeader(Headers::YOP_CONTENT_SHA256));
+ $responseMetadata->setYopSign($yopHttpResponse->getHeader(Headers::YOP_SIGN));
+ $responseMetadata->setYopVia($yopHttpResponse->getHeader(Headers::YOP_VIA));
+ $responseMetadata->setContentDisposition($yopHttpResponse->getHeader(Headers::CONTENT_DISPOSITION));
+ $responseMetadata->setContentEncoding($yopHttpResponse->getHeader(Headers::CONTENT_ENCODING));
+ $responseMetadata->setContentLength($yopHttpResponse->getHeaderAsLong(Headers::CONTENT_LENGTH));
+ $responseMetadata->setContentType($yopHttpResponse->getHeader(Headers::CONTENT_TYPE));
+ $responseMetadata->setDate($yopHttpResponse->getHeaderAsRFC822Date(Headers::DATE));
+ $responseMetadata->setTransferEncoding($yopHttpResponse->getHeader(Headers::TRANSFER_ENCODING));
+
+ $etag = $yopHttpResponse->getHeader(Headers::ETAG);
+ if (isset($etag)) {
+ //TODO 此处对比java版有所简略
+ $responseMetadata->setEtag($etag);
+ }
+ $responseMetadata->setExpires($yopHttpResponse->getHeaderAsRFC822Date(Headers::EXPIRES));
+ $responseMetadata->setLastModified($yopHttpResponse->getHeaderAsRFC822Date(Headers::LAST_MODIFIED));
+ $responseMetadata->setServer($yopHttpResponse->getHeader(Headers::SERVER));
+ if ($responseMetadata->getYopVia() == YopConstants::DEFAULT_SANDBOX_VIA) {
+ self::$logger->info('response from sandbox-gateway');
+ }
+
+ }
+
+ private function checkSignature(YopHttpResponse $yopHttpResponse, $signature, ResponseUnMarshalParams $params)
+ {
+ if (isset($signature)) {
+ $params->getSigner()
+ ->checkSignature($yopHttpResponse, $signature, $params->getPublicKey(), $params->getSignOptions());
+ }
+ }
+
+ /**
+ * @param YopHttpResponse $yopHttpResponse
+ * @param $contentType
+ * @param BaseResponse $response
+ * @param ResponseUnMarshalParams $params
+ * @throws YopClientException
+ */
+ protected function handleContent(
+ YopHttpResponse $yopHttpResponse,
+ $contentType,
+ BaseResponse $response,
+ ResponseUnMarshalParams $params
+ ) {
+ $content = $yopHttpResponse->readContent();
+ if ($params->isNeedDecrypt() && $contentType == ContentType::APPLICATION_JSON) {
+ $content = $params->getEncryptor()->decrypt($content);
+ }
+ $statusCode = $yopHttpResponse->getStatusCode();
+ if ($statusCode / 100 == HttpStatus::SC_OK / 100) {
+ if ($statusCode != HttpStatus::SC_NO_CONTENT) {
+ $data = json_decode($content);
+ $response->setResult(ObjectSerializer::deserialize($data->{'result'}, $response->getResultClass()));
+ }
+ } elseif ($statusCode >= HttpStatus::SC_INTERNAL_SERVER_ERROR && $statusCode != HttpStatus::SC_BAD_GATEWAY) {
+ $this->handleErrorResponse($content, $response->getMetadata(), $yopHttpResponse);
+ } else {
+ throw new YopClientException("Unexpected http statusCode:".$statusCode);
+ }
+ }
+
+ /**
+ * @param $content
+ * @param YopResponseMetadata $responseMetadata
+ * @param YopHttpResponse $yopHttpResponse
+ * @throws YopServiceException
+ */
+ protected function handleErrorResponse(
+ $content,
+ YopResponseMetadata $responseMetadata,
+ YopHttpResponse $yopHttpResponse
+ ) {
+ $yopServiceException = null;
+ if (!empty($content)) {
+ try {
+ $data = json_decode($content, true);
+ dd($data);
+ $yopServiceException = new YopServiceException($data['message'], $data['code']);
+ $yopServiceException->setRequestId($data['requestId']);
+ $yopServiceException->setSubErrorCode($data['subCode']);
+ $yopServiceException->setSubErrorMessage($data['subMessage']);
+ } catch (\Exception $e) {
+ self::$logger->error("unable to parse error response, content".$content);
+ }
+ }
+ if (!isset($yopServiceException)) {
+ $yopServiceException = new YopServiceException($yopHttpResponse->getStatusText());
+ $yopServiceException->setRequestId($responseMetadata->getYopRequestId());
+ }
+ $yopServiceException->setStatusCode($yopHttpResponse->getStatusCode());
+ $yopServiceException->setErrorType(YopServiceException::ERROR_TYPE_SERVICE);
+ throw $yopServiceException;
+ }
+
+}
+
+BaseResponseUnMarshaller::__init();
diff --git a/lib/Model/Transform/RequestMarshaller.php b/lib/Model/Transform/RequestMarshaller.php
new file mode 100644
index 0000000..5d4d098
--- /dev/null
+++ b/lib/Model/Transform/RequestMarshaller.php
@@ -0,0 +1,17 @@
+publicKey;
+ }
+
+ /**
+ * @param resource $publicKey
+ * @return ResponseUnMarshalParams
+ */
+ public function setPublicKey($publicKey)
+ {
+ $this->publicKey = $publicKey;
+
+ return $this;
+ }
+
+ /**
+ * @return Signer
+ */
+ public function getSigner()
+ {
+ return $this->signer;
+ }
+
+ /**
+ * @param Signer $signer
+ * @return ResponseUnMarshalParams
+ */
+ public function setSigner($signer)
+ {
+ $this->signer = $signer;
+
+ return $this;
+ }
+
+ /**
+ * @return SignOptions
+ */
+ public function getSignOptions()
+ {
+ return $this->signOptions;
+ }
+
+ /**
+ * @param SignOptions $signOptions
+ * @return ResponseUnMarshalParams
+ */
+ public function setSignOptions($signOptions)
+ {
+ $this->signOptions = $signOptions;
+
+ return $this;
+ }
+
+ /**
+ * @return bool
+ */
+ public function isNeedDecrypt()
+ {
+ return $this->needDecrypt;
+ }
+
+ /**
+ * @param bool $needDecrypt
+ * @return ResponseUnMarshalParams
+ */
+ public function setNeedDecrypt($needDecrypt)
+ {
+ $this->needDecrypt = $needDecrypt;
+
+ return $this;
+ }
+
+ /**
+ * @return Encryptor
+ */
+ public function getEncryptor()
+ {
+ return $this->encryptor;
+ }
+
+ /**
+ * @param Encryptor $encryptor
+ * @return ResponseUnMarshalParams
+ */
+ public function setEncryptor($encryptor)
+ {
+ $this->encryptor = $encryptor;
+
+ return $this;
+ }
+
+}
diff --git a/lib/Model/Transform/ResponseUnMarshaller.php b/lib/Model/Transform/ResponseUnMarshaller.php
new file mode 100644
index 0000000..5891f7e
--- /dev/null
+++ b/lib/Model/Transform/ResponseUnMarshaller.php
@@ -0,0 +1,17 @@
+getStatusCode();
+ if ($statusCode / 100 == HttpStatus::SC_OK / 100 && $statusCode != HttpStatus::SC_NO_CONTENT) {
+ $response->setResult($yopHttpResponse->getContent());
+ } elseif ($statusCode >= HttpStatus::SC_INTERNAL_SERVER_ERROR && $statusCode != HttpStatus::SC_BAD_GATEWAY) {
+ $content = $yopHttpResponse->readContent();
+ if ($params->isNeedDecrypt() && $contentType == ContentType::APPLICATION_JSON) {
+ $content = $params->getEncryptor()->decrypt($content);
+ }
+ $this->handleErrorResponse($content, $response->getMetadata(), $yopHttpResponse);
+ } else {
+ throw new YopClientException("Unexpected http statusCode:".$statusCode);
+ }
+ }
+
+}
diff --git a/lib/Model/YopErrorResponse.php b/lib/Model/YopErrorResponse.php
new file mode 100644
index 0000000..42f4c56
--- /dev/null
+++ b/lib/Model/YopErrorResponse.php
@@ -0,0 +1,128 @@
+requestId;
+ }
+
+ /**
+ * @param string $requestId
+ * @return YopErrorResponse
+ */
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ /**
+ * @param string $code
+ * @return YopErrorResponse
+ */
+ public function setCode($code)
+ {
+ $this->code = $code;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ /**
+ * @param string $message
+ * @return YopErrorResponse
+ */
+ public function setMessage($message)
+ {
+ $this->message = $message;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSubCode()
+ {
+ return $this->subCode;
+ }
+
+ /**
+ * @param string $subCode
+ * @return YopErrorResponse
+ */
+ public function setSubCode($subCode)
+ {
+ $this->subCode = $subCode;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSubMessage()
+ {
+ return $this->subMessage;
+ }
+
+ /**
+ * @param string $subMessage
+ * @return YopErrorResponse
+ */
+ public function setSubMessage($subMessage)
+ {
+ $this->subMessage = $subMessage;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Model/YopResponseMetadata.php b/lib/Model/YopResponseMetadata.php
new file mode 100644
index 0000000..41693f7
--- /dev/null
+++ b/lib/Model/YopResponseMetadata.php
@@ -0,0 +1,418 @@
+yopRequestId;
+ }
+
+ /**
+ * @param string $yopRequestId
+ * @return YopResponseMetadata
+ */
+ public function setYopRequestId($yopRequestId)
+ {
+ $this->yopRequestId = $yopRequestId;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getYopSign()
+ {
+ return $this->yopSign;
+ }
+
+ /**
+ * @param string $yopSign
+ * @return YopResponseMetadata
+ */
+ public function setYopSign($yopSign)
+ {
+ $this->yopSign = $yopSign;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getYopContentSha256()
+ {
+ return $this->yopContentSha256;
+ }
+
+ /**
+ * @param string $yopContentSha256
+ * @return YopResponseMetadata
+ */
+ public function setYopContentSha256($yopContentSha256)
+ {
+ $this->yopContentSha256 = $yopContentSha256;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getYopVia()
+ {
+ return $this->yopVia;
+ }
+
+ /**
+ * @param string $yopVia
+ * @return YopResponseMetadata
+ */
+ public function setYopVia($yopVia)
+ {
+ $this->yopVia = $yopVia;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getContentDisposition()
+ {
+ return $this->contentDisposition;
+ }
+
+ /**
+ * @param string $contentDisposition
+ * @return YopResponseMetadata
+ */
+ public function setContentDisposition($contentDisposition)
+ {
+ $this->contentDisposition = $contentDisposition;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getTransferEncoding()
+ {
+ return $this->transferEncoding;
+ }
+
+ /**
+ * @param string $transferEncoding
+ * @return YopResponseMetadata
+ */
+ public function setTransferEncoding($transferEncoding)
+ {
+ $this->transferEncoding = $transferEncoding;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getContentEncoding()
+ {
+ return $this->contentEncoding;
+ }
+
+ /**
+ * @param string $contentEncoding
+ * @return YopResponseMetadata
+ */
+ public function setContentEncoding($contentEncoding)
+ {
+ $this->contentEncoding = $contentEncoding;
+
+ return $this;
+ }
+
+ /**
+ * @return float
+ */
+ public function getContentLength()
+ {
+ return $this->contentLength;
+ }
+
+ /**
+ * @param float $contentLength
+ * @return YopResponseMetadata
+ */
+ public function setContentLength($contentLength)
+ {
+ $this->contentLength = $contentLength;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getContentMd5()
+ {
+ return $this->contentMd5;
+ }
+
+ /**
+ * @param string $contentMd5
+ * @return YopResponseMetadata
+ */
+ public function setContentMd5($contentMd5)
+ {
+ $this->contentMd5 = $contentMd5;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getContentRange()
+ {
+ return $this->contentRange;
+ }
+
+ /**
+ * @param string $contentRange
+ * @return YopResponseMetadata
+ */
+ public function setContentRange($contentRange)
+ {
+ $this->contentRange = $contentRange;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+
+ /**
+ * @param string $contentType
+ * @return YopResponseMetadata
+ */
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+
+ return $this;
+ }
+
+ /**
+ * @return DateTime
+ */
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ /**
+ * @param DateTime $date
+ * @return YopResponseMetadata
+ */
+ public function setDate($date)
+ {
+ $this->date = $date;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * @param string $etag
+ * @return YopResponseMetadata
+ */
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+
+ return $this;
+ }
+
+ /**
+ * @return DateTime
+ */
+ public function getExpires()
+ {
+ return $this->expires;
+ }
+
+ /**
+ * @param DateTime $expires
+ * @return YopResponseMetadata
+ */
+ public function setExpires($expires)
+ {
+ $this->expires = $expires;
+
+ return $this;
+ }
+
+ /**
+ * @return DateTime
+ */
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+
+ /**
+ * @param DateTime $lastModified
+ * @return YopResponseMetadata
+ */
+ public function setLastModified($lastModified)
+ {
+ $this->lastModified = $lastModified;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getServer()
+ {
+ return $this->server;
+ }
+
+ /**
+ * @param string $server
+ * @return YopResponseMetadata
+ */
+ public function setServer($server)
+ {
+ $this->server = $server;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * @param string $location
+ * @return YopResponseMetadata
+ */
+ public function setLocation($location)
+ {
+ $this->location = $location;
+
+ return $this;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Model/YosDownloadResponse.php b/lib/Model/YosDownloadResponse.php
new file mode 100644
index 0000000..80ceae8
--- /dev/null
+++ b/lib/Model/YosDownloadResponse.php
@@ -0,0 +1,60 @@
+getMetadata()->getContentLength();
+ \GuzzleHttp\Psr7\copy_to_stream(
+ $this->result,
+ $sink,
+ (strlen($contentLength) > 0 && (int) $contentLength > 0) ? (int) $contentLength : -1
+ );
+ $sink->seek(0);
+ $this->result->close();
+ }
+
+ function getResultClass()
+ {
+ return StreamInterface::class;
+ }
+
+ /**
+ * @param StreamInterface $result
+ */
+ function setResult($result)
+ {
+ $this->result = $result;
+ }
+
+}
diff --git a/lib/Model/YosDownloadResponseMetadata.php b/lib/Model/YosDownloadResponseMetadata.php
new file mode 100644
index 0000000..8749124
--- /dev/null
+++ b/lib/Model/YosDownloadResponseMetadata.php
@@ -0,0 +1,80 @@
+instanceLength;
+ }
+
+ /**
+ * @param float $instanceLength
+ * @return YosDownloadResponseMetadata
+ */
+ public function setInstanceLength($instanceLength)
+ {
+ $this->instanceLength = $instanceLength;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getCacheControl()
+ {
+ return $this->cacheControl;
+ }
+
+ /**
+ * @param string $cacheControl
+ * @return YosDownloadResponseMetadata
+ */
+ public function setCacheControl($cacheControl)
+ {
+ $this->cacheControl = $cacheControl;
+
+ return $this;
+ }
+
+ /**
+ * @return float
+ */
+ public function getAppendOffset()
+ {
+ return $this->appendOffset;
+ }
+
+ /**
+ * @param float $appendOffset
+ * @return YosDownloadResponseMetadata
+ */
+ public function setAppendOffset($appendOffset)
+ {
+ $this->appendOffset = $appendOffset;
+
+ return $this;
+ }
+
+}
diff --git a/lib/Security/Aes/AesEncryptor.php b/lib/Security/Aes/AesEncryptor.php
new file mode 100644
index 0000000..00a8f25
--- /dev/null
+++ b/lib/Security/Aes/AesEncryptor.php
@@ -0,0 +1,34 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\AccountinfosQueryRequest $request
+ * @return Model\AccountinfosQueryResponse
+ * @throws YopClientException
+ */
+ public function accountinfosQuery(Model\AccountinfosQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AccountinfosQueryRequestMarshaller::getInstance(),
+ Model\AccountinfosQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\AutoWithdrawRuleCancelRequest $request
+ * @return Model\AutoWithdrawRuleCancelResponse
+ * @throws YopClientException
+ */
+ public function autoWithdrawRuleCancel(Model\AutoWithdrawRuleCancelRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AutoWithdrawRuleCancelRequestMarshaller::getInstance(),
+ Model\AutoWithdrawRuleCancelResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\AutoWithdrawRuleQueryRequest $request
+ * @return Model\AutoWithdrawRuleQueryResponse
+ * @throws YopClientException
+ */
+ public function autoWithdrawRuleQuery(Model\AutoWithdrawRuleQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AutoWithdrawRuleQueryRequestMarshaller::getInstance(),
+ Model\AutoWithdrawRuleQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\AutoWithdrawRuleSetRequest $request
+ * @return Model\AutoWithdrawRuleSetResponse
+ * @throws YopClientException
+ */
+ public function autoWithdrawRuleSet(Model\AutoWithdrawRuleSetRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AutoWithdrawRuleSetRequestMarshaller::getInstance(),
+ Model\AutoWithdrawRuleSetResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BalanceBankAccountListRequest $request
+ * @return Model\BalanceBankAccountListResponse
+ * @throws YopClientException
+ */
+ public function balanceBankAccountList(Model\BalanceBankAccountListRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getBankCode() == null) {
+ throw new YopClientException("request.bankCode is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BalanceBankAccountListRequestMarshaller::getInstance(),
+ Model\BalanceBankAccountListResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BalanceQueryRequest $request
+ * @return Model\BalanceQueryResponse
+ * @throws YopClientException
+ */
+ public function balanceQuery(Model\BalanceQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\BalanceQueryRequestMarshaller::getInstance(),
+ Model\BalanceQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\EnterpriseAccountPayOrderRequest $request
+ * @return Model\EnterpriseAccountPayOrderResponse
+ * @throws YopClientException
+ */
+ public function enterpriseAccountPayOrder(Model\EnterpriseAccountPayOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getBody() == null) {
+ throw new YopClientException("request.body is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\EnterpriseAccountPayOrderRequestMarshaller::getInstance(),
+ Model\EnterpriseAccountPayOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\EnterpriseAutoPaymentOrderRequest $request
+ * @return Model\EnterpriseAutoPaymentOrderResponse
+ * @throws YopClientException
+ */
+ public function enterpriseAutoPaymentOrder(Model\EnterpriseAutoPaymentOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\EnterpriseAutoPaymentOrderRequestMarshaller::getInstance(),
+ Model\EnterpriseAutoPaymentOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\EnterpriseAutoPaymentQueryRequest $request
+ * @return Model\EnterpriseAutoPaymentQueryResponse
+ * @throws YopClientException
+ */
+ public function enterpriseAutoPaymentQuery(Model\EnterpriseAutoPaymentQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\EnterpriseAutoPaymentQueryRequestMarshaller::getInstance(),
+ Model\EnterpriseAutoPaymentQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\EnterpriseWithholdingOrderRequest $request
+ * @return Model\EnterpriseWithholdingOrderResponse
+ * @throws YopClientException
+ */
+ public function enterpriseWithholdingOrder(Model\EnterpriseWithholdingOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\EnterpriseWithholdingOrderRequestMarshaller::getInstance(),
+ Model\EnterpriseWithholdingOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\PayCancelRequest $request
+ * @return Model\PayCancelResponse
+ * @throws YopClientException
+ */
+ public function payCancel(Model\PayCancelRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\PayCancelRequestMarshaller::getInstance(),
+ Model\PayCancelResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\PayOrderRequest $request
+ * @return Model\PayOrderResponse
+ * @throws YopClientException
+ */
+ public function payOrder(Model\PayOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\PayOrderRequestMarshaller::getInstance(),
+ Model\PayOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\PayQueryRequest $request
+ * @return Model\PayQueryResponse
+ * @throws YopClientException
+ */
+ public function payQuery(Model\PayQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\PayQueryRequestMarshaller::getInstance(),
+ Model\PayQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ReceiptGetRequest $request
+ * @return Model\ReceiptGetResponse
+ * @throws YopClientException
+ */
+ public function receiptGet(Model\ReceiptGetRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getOrderNo() == null) {
+ throw new YopClientException("request.orderNo is required.");
+ }
+ if ($request->getTradeType() == null) {
+ throw new YopClientException("request.tradeType is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\ReceiptGetRequestMarshaller::getInstance(),
+ Model\ReceiptGetResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RechargeBankOrderRequest $request
+ * @return Model\RechargeBankOrderResponse
+ * @throws YopClientException
+ */
+ public function rechargeBankOrder(Model\RechargeBankOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RechargeBankOrderRequestMarshaller::getInstance(),
+ Model\RechargeBankOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RechargeOnlinebankOrderRequest $request
+ * @return Model\RechargeOnlinebankOrderResponse
+ * @throws YopClientException
+ */
+ public function rechargeOnlinebankOrder(Model\RechargeOnlinebankOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RechargeOnlinebankOrderRequestMarshaller::getInstance(),
+ Model\RechargeOnlinebankOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RechargeOrderRequest $request
+ * @return Model\RechargeOrderResponse
+ * @throws YopClientException
+ */
+ public function rechargeOrder(Model\RechargeOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RechargeOrderRequestMarshaller::getInstance(),
+ Model\RechargeOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RechargeQueryRequest $request
+ * @return Model\RechargeQueryResponse
+ * @throws YopClientException
+ */
+ public function rechargeQuery(Model\RechargeQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RechargeQueryRequestMarshaller::getInstance(),
+ Model\RechargeQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SupplierApplyRequest $request
+ * @return Model\SupplierApplyResponse
+ * @throws YopClientException
+ */
+ public function supplierApply(Model\SupplierApplyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getBody() == null) {
+ throw new YopClientException("request.body is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SupplierApplyRequestMarshaller::getInstance(),
+ Model\SupplierApplyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SupplierPayOrderRequest $request
+ * @return Model\SupplierPayOrderResponse
+ * @throws YopClientException
+ */
+ public function supplierPayOrder(Model\SupplierPayOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SupplierPayOrderRequestMarshaller::getInstance(),
+ Model\SupplierPayOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SupplierQueryRequest $request
+ * @return Model\SupplierQueryResponse
+ * @throws YopClientException
+ */
+ public function supplierQuery(Model\SupplierQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SupplierQueryRequestMarshaller::getInstance(),
+ Model\SupplierQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SupplierQueryProgressRequest $request
+ * @return Model\SupplierQueryProgressResponse
+ * @throws YopClientException
+ */
+ public function supplierQueryProgress(Model\SupplierQueryProgressRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getRequestNo() == null) {
+ throw new YopClientException("request.requestNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SupplierQueryProgressRequestMarshaller::getInstance(),
+ Model\SupplierQueryProgressResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TransferB2bOrderRequest $request
+ * @return Model\TransferB2bOrderResponse
+ * @throws YopClientException
+ */
+ public function transferB2bOrder(Model\TransferB2bOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\TransferB2bOrderRequestMarshaller::getInstance(),
+ Model\TransferB2bOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TransferB2bQueryRequest $request
+ * @return Model\TransferB2bQueryResponse
+ * @throws YopClientException
+ */
+ public function transferB2bQuery(Model\TransferB2bQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\TransferB2bQueryRequestMarshaller::getInstance(),
+ Model\TransferB2bQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WithdrawCardBindRequest $request
+ * @return Model\WithdrawCardBindResponse
+ * @throws YopClientException
+ */
+ public function withdrawCardBind(Model\WithdrawCardBindRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WithdrawCardBindRequestMarshaller::getInstance(),
+ Model\WithdrawCardBindResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WithdrawCardModifyRequest $request
+ * @return Model\WithdrawCardModifyResponse
+ * @throws YopClientException
+ */
+ public function withdrawCardModify(Model\WithdrawCardModifyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WithdrawCardModifyRequestMarshaller::getInstance(),
+ Model\WithdrawCardModifyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WithdrawCardQueryRequest $request
+ * @return Model\WithdrawCardQueryResponse
+ * @throws YopClientException
+ */
+ public function withdrawCardQuery(Model\WithdrawCardQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WithdrawCardQueryRequestMarshaller::getInstance(),
+ Model\WithdrawCardQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WithdrawOrderRequest $request
+ * @return Model\WithdrawOrderResponse
+ * @throws YopClientException
+ */
+ public function withdrawOrder(Model\WithdrawOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WithdrawOrderRequestMarshaller::getInstance(),
+ Model\WithdrawOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WithdrawQueryRequest $request
+ * @return Model\WithdrawQueryResponse
+ * @throws YopClientException
+ */
+ public function withdrawQuery(Model\WithdrawQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WithdrawQueryRequestMarshaller::getInstance(),
+ Model\WithdrawQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Account/AccountClientBuilder.php b/lib/Service/Account/AccountClientBuilder.php
new file mode 100644
index 0000000..97b214f
--- /dev/null
+++ b/lib/Service/Account/AccountClientBuilder.php
@@ -0,0 +1,126 @@
+register('accountinfosQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('autoWithdrawRuleCancel',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('autoWithdrawRuleQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('autoWithdrawRuleSet',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('balanceBankAccountList',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('balanceQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('enterpriseAccountPayOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('enterpriseAutoPaymentOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('enterpriseAutoPaymentQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('enterpriseWithholdingOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('payCancel',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('payOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('payQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('receiptGet',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('rechargeBankOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('rechargeOnlinebankOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('rechargeOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('rechargeQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('supplierApply',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('supplierPayOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('supplierQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('supplierQueryProgress',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('transferB2bOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('transferB2bQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('withdrawCardBind',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('withdrawCardModify',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('withdrawCardQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('withdrawOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('withdrawQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * AccountClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new AccountClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return AccountClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new AccountClientBuilder($clientParams);
+ }
+
+}
+
+AccountClientBuilder::__init();
diff --git a/lib/Service/Account/Model/AccountinfosQueryAccountDTOResult.php b/lib/Service/Account/Model/AccountinfosQueryAccountDTOResult.php
new file mode 100644
index 0000000..125c4ce
--- /dev/null
+++ b/lib/Service/Account/Model/AccountinfosQueryAccountDTOResult.php
@@ -0,0 +1,348 @@
+ 'string',
+ 'createTime' => 'string',
+ 'balance' => 'float',
+ 'accountStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'accountType' => null,
+ 'createTime' => 'date-time',
+ 'balance' => null,
+ 'accountStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'accountType' => 'accountType',
+ 'createTime' => 'createTime',
+ 'balance' => 'balance',
+ 'accountStatus' => 'accountStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'accountType' => 'setAccountType',
+ 'createTime' => 'setCreateTime',
+ 'balance' => 'setBalance',
+ 'accountStatus' => 'setAccountStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'accountType' => 'getAccountType',
+ 'createTime' => 'getCreateTime',
+ 'balance' => 'getBalance',
+ 'accountStatus' => 'getAccountStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['accountType'] = isset($data['accountType']) ? $data['accountType'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null;
+ $this->container['accountStatus'] = isset($data['accountStatus']) ? $data['accountStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets accountType
+ * @return string
+ */
+ public function getAccountType()
+ {
+ return $this->container['accountType'];
+ }
+
+ /**
+ * Sets accountType
+ * @param string $accountType 账户类型
+ * @return $this
+ */
+ public function setAccountType($accountType)
+ {
+ $this->container['accountType'] = $accountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 开户时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets balance
+ * @return float
+ */
+ public function getBalance()
+ {
+ return $this->container['balance'];
+ }
+
+ /**
+ * Sets balance
+ * @param float $balance 余额
+ * @return $this
+ */
+ public function setBalance($balance)
+ {
+ $this->container['balance'] = $balance;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountStatus
+ * @return string
+ */
+ public function getAccountStatus()
+ {
+ return $this->container['accountStatus'];
+ }
+
+ /**
+ * Sets accountStatus
+ * @param string $accountStatus 账户状态
+ * @return $this
+ */
+ public function setAccountStatus($accountStatus)
+ {
+ $this->container['accountStatus'] = $accountStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/AccountinfosQueryQueryAccountInfoListRespDTOResult.php b/lib/Service/Account/Model/AccountinfosQueryQueryAccountInfoListRespDTOResult.php
new file mode 100644
index 0000000..911e55d
--- /dev/null
+++ b/lib/Service/Account/Model/AccountinfosQueryQueryAccountInfoListRespDTOResult.php
@@ -0,0 +1,401 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'initiateMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'totalAccountBalance' => 'float',
+ 'accountInfoList' => '\Yeepay\Yop\Sdk\Service\Account\Model\AccountinfosQueryAccountDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'initiateMerchantNo' => null,
+ 'merchantNo' => null,
+ 'totalAccountBalance' => null,
+ 'accountInfoList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'initiateMerchantNo' => 'initiateMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'totalAccountBalance' => 'totalAccountBalance',
+ 'accountInfoList' => 'accountInfoList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'initiateMerchantNo' => 'setInitiateMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'totalAccountBalance' => 'setTotalAccountBalance',
+ 'accountInfoList' => 'setAccountInfoList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'initiateMerchantNo' => 'getInitiateMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'totalAccountBalance' => 'getTotalAccountBalance',
+ 'accountInfoList' => 'getAccountInfoList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['initiateMerchantNo'] = isset($data['initiateMerchantNo']) ? $data['initiateMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['totalAccountBalance'] = isset($data['totalAccountBalance']) ? $data['totalAccountBalance'] : null;
+ $this->container['accountInfoList'] = isset($data['accountInfoList']) ? $data['accountInfoList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets initiateMerchantNo
+ * @return string
+ */
+ public function getInitiateMerchantNo()
+ {
+ return $this->container['initiateMerchantNo'];
+ }
+
+ /**
+ * Sets initiateMerchantNo
+ * @param string $initiateMerchantNo 发起方商户编号
+ * @return $this
+ */
+ public function setInitiateMerchantNo($initiateMerchantNo)
+ {
+ $this->container['initiateMerchantNo'] = $initiateMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets totalAccountBalance
+ * @return float
+ */
+ public function getTotalAccountBalance()
+ {
+ return $this->container['totalAccountBalance'];
+ }
+
+ /**
+ * Sets totalAccountBalance
+ * @param float $totalAccountBalance 账户总余额
+ * @return $this
+ */
+ public function setTotalAccountBalance($totalAccountBalance)
+ {
+ $this->container['totalAccountBalance'] = $totalAccountBalance;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountInfoList
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\AccountinfosQueryAccountDTOResult[]
+ */
+ public function getAccountInfoList()
+ {
+ return $this->container['accountInfoList'];
+ }
+
+ /**
+ * Sets accountInfoList
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\AccountinfosQueryAccountDTOResult[] $accountInfoList 账户信息列表
+ * @return $this
+ */
+ public function setAccountInfoList($accountInfoList)
+ {
+ $this->container['accountInfoList'] = $accountInfoList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/AccountinfosQueryRequest.php b/lib/Service/Account/Model/AccountinfosQueryRequest.php
new file mode 100644
index 0000000..72df05e
--- /dev/null
+++ b/lib/Service/Account/Model/AccountinfosQueryRequest.php
@@ -0,0 +1,41 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return AccountinfosQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'accountinfosQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/AccountinfosQueryRequestMarshaller.php b/lib/Service/Account/Model/AccountinfosQueryRequestMarshaller.php
new file mode 100644
index 0000000..6b9315f
--- /dev/null
+++ b/lib/Service/Account/Model/AccountinfosQueryRequestMarshaller.php
@@ -0,0 +1,77 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+ $internalRequest->addParameter('merchantNo',ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ return $internalRequest;
+ }
+
+}
+
+AccountinfosQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/AccountinfosQueryResponse.php b/lib/Service/Account/Model/AccountinfosQueryResponse.php
new file mode 100644
index 0000000..02b4d59
--- /dev/null
+++ b/lib/Service/Account/Model/AccountinfosQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AccountinfosQueryQueryAccountInfoListRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/AccountinfosQueryResponseUnMarshaller.php b/lib/Service/Account/Model/AccountinfosQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..e95b692
--- /dev/null
+++ b/lib/Service/Account/Model/AccountinfosQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return AutoWithdrawRuleCancelRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return AutoWithdrawRuleCancelRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets ruleId
+ * @return string
+ */
+ public function getRuleId()
+ {
+ return $this->ruleId;
+ }
+
+ /**
+ * Sets ruleId
+ * @param string $ruleId
+ * @return AutoWithdrawRuleCancelRequest
+ */
+ public function setRuleId($ruleId)
+ {
+ $this->ruleId = $ruleId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'autoWithdrawRuleCancel';
+ }
+
+}
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleCancelRequestMarshaller.php b/lib/Service/Account/Model/AutoWithdrawRuleCancelRequestMarshaller.php
new file mode 100644
index 0000000..c55022a
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleCancelRequestMarshaller.php
@@ -0,0 +1,89 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getRuleId() != null) {
+ $internalRequest->addParameter('ruleId',
+ ObjectSerializer::sanitizeForSerialization($request->getRuleId(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+AutoWithdrawRuleCancelRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleCancelResponse.php b/lib/Service/Account/Model/AutoWithdrawRuleCancelResponse.php
new file mode 100644
index 0000000..1ae7a6e
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleCancelResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AutoWithdrawRuleCancelYopAutoWithdrawRuleCancelResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleCancelResponseUnMarshaller.php b/lib/Service/Account/Model/AutoWithdrawRuleCancelResponseUnMarshaller.php
new file mode 100644
index 0000000..564f566
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleCancelResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 系统返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 系统返回描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleQueryAutoWithdrawRuleDTOResult.php b/lib/Service/Account/Model/AutoWithdrawRuleQueryAutoWithdrawRuleDTOResult.php
new file mode 100644
index 0000000..38b9816
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleQueryAutoWithdrawRuleDTOResult.php
@@ -0,0 +1,510 @@
+ 'string',
+ 'createTime' => 'string',
+ 'merchantNo' => 'string',
+ 'status' => 'string',
+ 'receiveType' => 'string',
+ 'bindId' => 'string',
+ 'bankAccountNo' => 'string',
+ 'triggerTime' => 'string',
+ 'remainAmount' => 'float',
+ 'remark' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'ruleId' => null,
+ 'createTime' => 'date-time',
+ 'merchantNo' => null,
+ 'status' => null,
+ 'receiveType' => null,
+ 'bindId' => null,
+ 'bankAccountNo' => null,
+ 'triggerTime' => null,
+ 'remainAmount' => null,
+ 'remark' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'ruleId' => 'ruleId',
+ 'createTime' => 'createTime',
+ 'merchantNo' => 'merchantNo',
+ 'status' => 'status',
+ 'receiveType' => 'receiveType',
+ 'bindId' => 'bindId',
+ 'bankAccountNo' => 'bankAccountNo',
+ 'triggerTime' => 'triggerTime',
+ 'remainAmount' => 'remainAmount',
+ 'remark' => 'remark',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'ruleId' => 'setRuleId',
+ 'createTime' => 'setCreateTime',
+ 'merchantNo' => 'setMerchantNo',
+ 'status' => 'setStatus',
+ 'receiveType' => 'setReceiveType',
+ 'bindId' => 'setBindId',
+ 'bankAccountNo' => 'setBankAccountNo',
+ 'triggerTime' => 'setTriggerTime',
+ 'remainAmount' => 'setRemainAmount',
+ 'remark' => 'setRemark',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'ruleId' => 'getRuleId',
+ 'createTime' => 'getCreateTime',
+ 'merchantNo' => 'getMerchantNo',
+ 'status' => 'getStatus',
+ 'receiveType' => 'getReceiveType',
+ 'bindId' => 'getBindId',
+ 'bankAccountNo' => 'getBankAccountNo',
+ 'triggerTime' => 'getTriggerTime',
+ 'remainAmount' => 'getRemainAmount',
+ 'remark' => 'getRemark',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['ruleId'] = isset($data['ruleId']) ? $data['ruleId'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['receiveType'] = isset($data['receiveType']) ? $data['receiveType'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ $this->container['bankAccountNo'] = isset($data['bankAccountNo']) ? $data['bankAccountNo'] : null;
+ $this->container['triggerTime'] = isset($data['triggerTime']) ? $data['triggerTime'] : null;
+ $this->container['remainAmount'] = isset($data['remainAmount']) ? $data['remainAmount'] : null;
+ $this->container['remark'] = isset($data['remark']) ? $data['remark'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets ruleId
+ * @return string
+ */
+ public function getRuleId()
+ {
+ return $this->container['ruleId'];
+ }
+
+ /**
+ * Sets ruleId
+ * @param string $ruleId 规则id
+ * @return $this
+ */
+ public function setRuleId($ruleId)
+ {
+ $this->container['ruleId'] = $ruleId;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 规则创建时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 交易主体商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 规则状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->container['receiveType'];
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType 提现到账类型
+ * @return $this
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->container['receiveType'] = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId 提现卡id
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankAccountNo
+ * @return string
+ */
+ public function getBankAccountNo()
+ {
+ return $this->container['bankAccountNo'];
+ }
+
+ /**
+ * Sets bankAccountNo
+ * @param string $bankAccountNo 提现卡卡号
+ * @return $this
+ */
+ public function setBankAccountNo($bankAccountNo)
+ {
+ $this->container['bankAccountNo'] = $bankAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets triggerTime
+ * @return string
+ */
+ public function getTriggerTime()
+ {
+ return $this->container['triggerTime'];
+ }
+
+ /**
+ * Sets triggerTime
+ * @param string $triggerTime 触发时间
+ * @return $this
+ */
+ public function setTriggerTime($triggerTime)
+ {
+ $this->container['triggerTime'] = $triggerTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets remainAmount
+ * @return float
+ */
+ public function getRemainAmount()
+ {
+ return $this->container['remainAmount'];
+ }
+
+ /**
+ * Sets remainAmount
+ * @param float $remainAmount 保留金额
+ * @return $this
+ */
+ public function setRemainAmount($remainAmount)
+ {
+ $this->container['remainAmount'] = $remainAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->container['remark'];
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark 银行附言
+ * @return $this
+ */
+ public function setRemark($remark)
+ {
+ $this->container['remark'] = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleQueryRequest.php b/lib/Service/Account/Model/AutoWithdrawRuleQueryRequest.php
new file mode 100644
index 0000000..a0f215d
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleQueryRequest.php
@@ -0,0 +1,67 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return AutoWithdrawRuleQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return AutoWithdrawRuleQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'autoWithdrawRuleQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleQueryRequestMarshaller.php b/lib/Service/Account/Model/AutoWithdrawRuleQueryRequestMarshaller.php
new file mode 100644
index 0000000..8aa8108
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleQueryRequestMarshaller.php
@@ -0,0 +1,79 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+ $internalRequest->addParameter('parentMerchantNo',ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ $internalRequest->addParameter('merchantNo',ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ return $internalRequest;
+ }
+
+}
+
+AutoWithdrawRuleQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleQueryResponse.php b/lib/Service/Account/Model/AutoWithdrawRuleQueryResponse.php
new file mode 100644
index 0000000..3f3138d
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AutoWithdrawRuleQueryYopAutoWithdrawRuleQueryResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleQueryResponseUnMarshaller.php b/lib/Service/Account/Model/AutoWithdrawRuleQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..9f15c67
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'rules' => '\Yeepay\Yop\Sdk\Service\Account\Model\AutoWithdrawRuleQueryAutoWithdrawRuleDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'rules' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'rules' => 'rules',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'rules' => 'setRules',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'rules' => 'getRules',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['rules'] = isset($data['rules']) ? $data['rules'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 系统返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 系统返回描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets rules
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\AutoWithdrawRuleQueryAutoWithdrawRuleDTOResult[]
+ */
+ public function getRules()
+ {
+ return $this->container['rules'];
+ }
+
+ /**
+ * Sets rules
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\AutoWithdrawRuleQueryAutoWithdrawRuleDTOResult[] $rules 规则列表
+ * @return $this
+ */
+ public function setRules($rules)
+ {
+ $this->container['rules'] = $rules;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleSetRequest.php b/lib/Service/Account/Model/AutoWithdrawRuleSetRequest.php
new file mode 100644
index 0000000..166934d
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleSetRequest.php
@@ -0,0 +1,223 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->bindId;
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setBindId($bindId)
+ {
+ $this->bindId = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankAccountNo
+ * @return string
+ */
+ public function getBankAccountNo()
+ {
+ return $this->bankAccountNo;
+ }
+
+ /**
+ * Sets bankAccountNo
+ * @param string $bankAccountNo
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setBankAccountNo($bankAccountNo)
+ {
+ $this->bankAccountNo = $bankAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->receiveType;
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->receiveType = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets triggerTime
+ * @return string
+ */
+ public function getTriggerTime()
+ {
+ return $this->triggerTime;
+ }
+
+ /**
+ * Sets triggerTime
+ * @param string $triggerTime
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setTriggerTime($triggerTime)
+ {
+ $this->triggerTime = $triggerTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets remainAmount
+ * @return float
+ */
+ public function getRemainAmount()
+ {
+ return $this->remainAmount;
+ }
+
+ /**
+ * Sets remainAmount
+ * @param float $remainAmount
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setRemainAmount($remainAmount)
+ {
+ $this->remainAmount = $remainAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->remark;
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark
+ * @return AutoWithdrawRuleSetRequest
+ */
+ public function setRemark($remark)
+ {
+ $this->remark = $remark;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'autoWithdrawRuleSet';
+ }
+
+}
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleSetRequestMarshaller.php b/lib/Service/Account/Model/AutoWithdrawRuleSetRequestMarshaller.php
new file mode 100644
index 0000000..23e3ac6
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleSetRequestMarshaller.php
@@ -0,0 +1,109 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBindId() != null) {
+ $internalRequest->addParameter('bindId',
+ ObjectSerializer::sanitizeForSerialization($request->getBindId(), 'string'));
+ }
+ if ($request->getBankAccountNo() != null) {
+ $internalRequest->addParameter('bankAccountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankAccountNo(), 'string'));
+ }
+ if ($request->getReceiveType() != null) {
+ $internalRequest->addParameter('receiveType',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiveType(), 'string'));
+ }
+ if ($request->getTriggerTime() != null) {
+ $internalRequest->addParameter('triggerTime',
+ ObjectSerializer::sanitizeForSerialization($request->getTriggerTime(), 'string'));
+ }
+ if ($request->getRemainAmount() != null) {
+ $internalRequest->addParameter('remainAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getRemainAmount(), 'float'));
+ }
+ if ($request->getRemark() != null) {
+ $internalRequest->addParameter('remark',
+ ObjectSerializer::sanitizeForSerialization($request->getRemark(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+AutoWithdrawRuleSetRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleSetResponse.php b/lib/Service/Account/Model/AutoWithdrawRuleSetResponse.php
new file mode 100644
index 0000000..1cdd11c
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleSetResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AutoWithdrawRuleSetYopAutoWithdrawRuleSetResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/AutoWithdrawRuleSetResponseUnMarshaller.php b/lib/Service/Account/Model/AutoWithdrawRuleSetResponseUnMarshaller.php
new file mode 100644
index 0000000..b7ae69a
--- /dev/null
+++ b/lib/Service/Account/Model/AutoWithdrawRuleSetResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'ruleId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'ruleId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'ruleId' => 'ruleId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'ruleId' => 'setRuleId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'ruleId' => 'getRuleId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['ruleId'] = isset($data['ruleId']) ? $data['ruleId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets ruleId
+ * @return string
+ */
+ public function getRuleId()
+ {
+ return $this->container['ruleId'];
+ }
+
+ /**
+ * Sets ruleId
+ * @param string $ruleId 规则id
+ * @return $this
+ */
+ public function setRuleId($ruleId)
+ {
+ $this->container['ruleId'] = $ruleId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/BalanceBankAccountListAccountInfoDetailResult.php b/lib/Service/Account/Model/BalanceBankAccountListAccountInfoDetailResult.php
new file mode 100644
index 0000000..a10724b
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceBankAccountListAccountInfoDetailResult.php
@@ -0,0 +1,348 @@
+ 'string',
+ 'balance' => 'float',
+ 'availableBalance' => 'float',
+ 'freezeBalance' => 'float',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'accountType' => null,
+ 'balance' => null,
+ 'availableBalance' => null,
+ 'freezeBalance' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'accountType' => 'accountType',
+ 'balance' => 'balance',
+ 'availableBalance' => 'availableBalance',
+ 'freezeBalance' => 'freezeBalance',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'accountType' => 'setAccountType',
+ 'balance' => 'setBalance',
+ 'availableBalance' => 'setAvailableBalance',
+ 'freezeBalance' => 'setFreezeBalance',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'accountType' => 'getAccountType',
+ 'balance' => 'getBalance',
+ 'availableBalance' => 'getAvailableBalance',
+ 'freezeBalance' => 'getFreezeBalance',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['accountType'] = isset($data['accountType']) ? $data['accountType'] : null;
+ $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null;
+ $this->container['availableBalance'] = isset($data['availableBalance']) ? $data['availableBalance'] : null;
+ $this->container['freezeBalance'] = isset($data['freezeBalance']) ? $data['freezeBalance'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets accountType
+ * @return string
+ */
+ public function getAccountType()
+ {
+ return $this->container['accountType'];
+ }
+
+ /**
+ * Sets accountType
+ * @param string $accountType 账户类型
+ * @return $this
+ */
+ public function setAccountType($accountType)
+ {
+ $this->container['accountType'] = $accountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets balance
+ * @return float
+ */
+ public function getBalance()
+ {
+ return $this->container['balance'];
+ }
+
+ /**
+ * Sets balance
+ * @param float $balance 账户余额
+ * @return $this
+ */
+ public function setBalance($balance)
+ {
+ $this->container['balance'] = $balance;
+
+ return $this;
+ }
+
+ /**
+ * Gets availableBalance
+ * @return float
+ */
+ public function getAvailableBalance()
+ {
+ return $this->container['availableBalance'];
+ }
+
+ /**
+ * Sets availableBalance
+ * @param float $availableBalance 可用余额
+ * @return $this
+ */
+ public function setAvailableBalance($availableBalance)
+ {
+ $this->container['availableBalance'] = $availableBalance;
+
+ return $this;
+ }
+
+ /**
+ * Gets freezeBalance
+ * @return float
+ */
+ public function getFreezeBalance()
+ {
+ return $this->container['freezeBalance'];
+ }
+
+ /**
+ * Sets freezeBalance
+ * @param float $freezeBalance 冻结金额
+ * @return $this
+ */
+ public function setFreezeBalance($freezeBalance)
+ {
+ $this->container['freezeBalance'] = $freezeBalance;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/BalanceBankAccountListQueryInnerAndBankAccountInfoRespDTOResult.php b/lib/Service/Account/Model/BalanceBankAccountListQueryInnerAndBankAccountInfoRespDTOResult.php
new file mode 100644
index 0000000..340a012
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceBankAccountListQueryInnerAndBankAccountInfoRespDTOResult.php
@@ -0,0 +1,374 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'merchantNo' => 'string',
+ 'totalAccountBalance' => 'float',
+ 'accountInfoList' => '\Yeepay\Yop\Sdk\Service\Account\Model\BalanceBankAccountListAccountInfoDetailResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'merchantNo' => null,
+ 'totalAccountBalance' => null,
+ 'accountInfoList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'merchantNo' => 'merchantNo',
+ 'totalAccountBalance' => 'totalAccountBalance',
+ 'accountInfoList' => 'accountInfoList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'merchantNo' => 'setMerchantNo',
+ 'totalAccountBalance' => 'setTotalAccountBalance',
+ 'accountInfoList' => 'setAccountInfoList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'merchantNo' => 'getMerchantNo',
+ 'totalAccountBalance' => 'getTotalAccountBalance',
+ 'accountInfoList' => 'getAccountInfoList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['totalAccountBalance'] = isset($data['totalAccountBalance']) ? $data['totalAccountBalance'] : null;
+ $this->container['accountInfoList'] = isset($data['accountInfoList']) ? $data['accountInfoList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets totalAccountBalance
+ * @return float
+ */
+ public function getTotalAccountBalance()
+ {
+ return $this->container['totalAccountBalance'];
+ }
+
+ /**
+ * Sets totalAccountBalance
+ * @param float $totalAccountBalance 总计金额
+ * @return $this
+ */
+ public function setTotalAccountBalance($totalAccountBalance)
+ {
+ $this->container['totalAccountBalance'] = $totalAccountBalance;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountInfoList
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\BalanceBankAccountListAccountInfoDetailResult[]
+ */
+ public function getAccountInfoList()
+ {
+ return $this->container['accountInfoList'];
+ }
+
+ /**
+ * Sets accountInfoList
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\BalanceBankAccountListAccountInfoDetailResult[] $accountInfoList 账户信息列表
+ * @return $this
+ */
+ public function setAccountInfoList($accountInfoList)
+ {
+ $this->container['accountInfoList'] = $accountInfoList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/BalanceBankAccountListRequest.php b/lib/Service/Account/Model/BalanceBankAccountListRequest.php
new file mode 100644
index 0000000..e8d2f7a
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceBankAccountListRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BalanceBankAccountListRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BalanceBankAccountListRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return BalanceBankAccountListRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'balanceBankAccountList';
+ }
+
+}
diff --git a/lib/Service/Account/Model/BalanceBankAccountListRequestMarshaller.php b/lib/Service/Account/Model/BalanceBankAccountListRequestMarshaller.php
new file mode 100644
index 0000000..096207d
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceBankAccountListRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BalanceBankAccountListRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/BalanceBankAccountListResponse.php b/lib/Service/Account/Model/BalanceBankAccountListResponse.php
new file mode 100644
index 0000000..852e6cb
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceBankAccountListResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BalanceBankAccountListQueryInnerAndBankAccountInfoRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/BalanceBankAccountListResponseUnMarshaller.php b/lib/Service/Account/Model/BalanceBankAccountListResponseUnMarshaller.php
new file mode 100644
index 0000000..737cdf6
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceBankAccountListResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'merchantNo' => 'string',
+ 'accountNo' => 'string',
+ 'accountCreateTime' => 'string',
+ 'balance' => 'float',
+ 'accountStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'merchantNo' => null,
+ 'accountNo' => null,
+ 'accountCreateTime' => 'date-time',
+ 'balance' => null,
+ 'accountStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'merchantNo' => 'merchantNo',
+ 'accountNo' => 'accountNo',
+ 'accountCreateTime' => 'accountCreateTime',
+ 'balance' => 'balance',
+ 'accountStatus' => 'accountStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'merchantNo' => 'setMerchantNo',
+ 'accountNo' => 'setAccountNo',
+ 'accountCreateTime' => 'setAccountCreateTime',
+ 'balance' => 'setBalance',
+ 'accountStatus' => 'setAccountStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'merchantNo' => 'getMerchantNo',
+ 'accountNo' => 'getAccountNo',
+ 'accountCreateTime' => 'getAccountCreateTime',
+ 'balance' => 'getBalance',
+ 'accountStatus' => 'getAccountStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['accountNo'] = isset($data['accountNo']) ? $data['accountNo'] : null;
+ $this->container['accountCreateTime'] = isset($data['accountCreateTime']) ? $data['accountCreateTime'] : null;
+ $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null;
+ $this->container['accountStatus'] = isset($data['accountStatus']) ? $data['accountStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountNo
+ * @return string
+ */
+ public function getAccountNo()
+ {
+ return $this->container['accountNo'];
+ }
+
+ /**
+ * Sets accountNo
+ * @param string $accountNo 账户编号
+ * @return $this
+ */
+ public function setAccountNo($accountNo)
+ {
+ $this->container['accountNo'] = $accountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountCreateTime
+ * @return string
+ */
+ public function getAccountCreateTime()
+ {
+ return $this->container['accountCreateTime'];
+ }
+
+ /**
+ * Sets accountCreateTime
+ * @param string $accountCreateTime 账户创建时间
+ * @return $this
+ */
+ public function setAccountCreateTime($accountCreateTime)
+ {
+ $this->container['accountCreateTime'] = $accountCreateTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets balance
+ * @return float
+ */
+ public function getBalance()
+ {
+ return $this->container['balance'];
+ }
+
+ /**
+ * Sets balance
+ * @param float $balance 账户余额
+ * @return $this
+ */
+ public function setBalance($balance)
+ {
+ $this->container['balance'] = $balance;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountStatus
+ * @return string
+ */
+ public function getAccountStatus()
+ {
+ return $this->container['accountStatus'];
+ }
+
+ /**
+ * Sets accountStatus
+ * @param string $accountStatus 账户状态
+ * @return $this
+ */
+ public function setAccountStatus($accountStatus)
+ {
+ $this->container['accountStatus'] = $accountStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/BalanceQueryRequest.php b/lib/Service/Account/Model/BalanceQueryRequest.php
new file mode 100644
index 0000000..35ced34
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceQueryRequest.php
@@ -0,0 +1,41 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BalanceQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'balanceQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/BalanceQueryRequestMarshaller.php b/lib/Service/Account/Model/BalanceQueryRequestMarshaller.php
new file mode 100644
index 0000000..561c1f8
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BalanceQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/BalanceQueryResponse.php b/lib/Service/Account/Model/BalanceQueryResponse.php
new file mode 100644
index 0000000..1730432
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BalanceQueryAccountInfoRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/BalanceQueryResponseUnMarshaller.php b/lib/Service/Account/Model/BalanceQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..c376d94
--- /dev/null
+++ b/lib/Service/Account/Model/BalanceQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'yopMerchantNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'payerMerchantNo' => 'string',
+ 'marketingProductCode' => 'string',
+ 'orderInfo' => '\Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountPayOrderOrderInfoDtoParam',
+ 'merchantRequestIp' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'appKey' => null,
+ 'yopMerchantNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'payerMerchantNo' => null,
+ 'marketingProductCode' => null,
+ 'orderInfo' => null,
+ 'merchantRequestIp' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'appKey' => 'appKey',
+ 'yopMerchantNo' => 'yopMerchantNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'payerMerchantNo' => 'payerMerchantNo',
+ 'marketingProductCode' => 'marketingProductCode',
+ 'orderInfo' => 'orderInfo',
+ 'merchantRequestIp' => 'merchantRequestIp',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'appKey' => 'setAppKey',
+ 'yopMerchantNo' => 'setYopMerchantNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'payerMerchantNo' => 'setPayerMerchantNo',
+ 'marketingProductCode' => 'setMarketingProductCode',
+ 'orderInfo' => 'setOrderInfo',
+ 'merchantRequestIp' => 'setMerchantRequestIp',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'appKey' => 'getAppKey',
+ 'yopMerchantNo' => 'getYopMerchantNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'payerMerchantNo' => 'getPayerMerchantNo',
+ 'marketingProductCode' => 'getMarketingProductCode',
+ 'orderInfo' => 'getOrderInfo',
+ 'merchantRequestIp' => 'getMerchantRequestIp',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['appKey'] = isset($data['appKey']) ? $data['appKey'] : null;
+ $this->container['yopMerchantNo'] = isset($data['yopMerchantNo']) ? $data['yopMerchantNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['payerMerchantNo'] = isset($data['payerMerchantNo']) ? $data['payerMerchantNo'] : null;
+ $this->container['marketingProductCode'] = isset($data['marketingProductCode']) ? $data['marketingProductCode'] : null;
+ $this->container['orderInfo'] = isset($data['orderInfo']) ? $data['orderInfo'] : null;
+ $this->container['merchantRequestIp'] = isset($data['merchantRequestIp']) ? $data['merchantRequestIp'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets appKey
+ * @return string
+ */
+ public function getAppKey()
+ {
+ return $this->container['appKey'];
+ }
+
+ /**
+ * Sets appKey
+ * @param string $appKey appKey
+ * @return $this
+ */
+ public function setAppKey($appKey)
+ {
+ $this->container['appKey'] = $appKey;
+
+ return $this;
+ }
+
+ /**
+ * Gets yopMerchantNo
+ * @return string
+ */
+ public function getYopMerchantNo()
+ {
+ return $this->container['yopMerchantNo'];
+ }
+
+ /**
+ * Sets yopMerchantNo
+ * @param string $yopMerchantNo yopMerchantNo
+ * @return $this
+ */
+ public function setYopMerchantNo($yopMerchantNo)
+ {
+ $this->container['yopMerchantNo'] = $yopMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo parentMerchantNo
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo merchantNo
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerMerchantNo
+ * @return string
+ */
+ public function getPayerMerchantNo()
+ {
+ return $this->container['payerMerchantNo'];
+ }
+
+ /**
+ * Sets payerMerchantNo
+ * @param string $payerMerchantNo payerMerchantNo
+ * @return $this
+ */
+ public function setPayerMerchantNo($payerMerchantNo)
+ {
+ $this->container['payerMerchantNo'] = $payerMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets marketingProductCode
+ * @return string
+ */
+ public function getMarketingProductCode()
+ {
+ return $this->container['marketingProductCode'];
+ }
+
+ /**
+ * Sets marketingProductCode
+ * @param string $marketingProductCode marketingProductCode
+ * @return $this
+ */
+ public function setMarketingProductCode($marketingProductCode)
+ {
+ $this->container['marketingProductCode'] = $marketingProductCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderInfo
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountPayOrderOrderInfoDtoParam
+ */
+ public function getOrderInfo()
+ {
+ return $this->container['orderInfo'];
+ }
+
+ /**
+ * Sets orderInfo
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountPayOrderOrderInfoDtoParam $orderInfo orderInfo
+ * @return $this
+ */
+ public function setOrderInfo($orderInfo)
+ {
+ $this->container['orderInfo'] = $orderInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantRequestIp
+ * @return string
+ */
+ public function getMerchantRequestIp()
+ {
+ return $this->container['merchantRequestIp'];
+ }
+
+ /**
+ * Sets merchantRequestIp
+ * @param string $merchantRequestIp merchantRequestIp
+ * @return $this
+ */
+ public function setMerchantRequestIp($merchantRequestIp)
+ {
+ $this->container['merchantRequestIp'] = $merchantRequestIp;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/EnterpriseAccountPayOrderAccountPaymentRespDtoResult.php b/lib/Service/Account/Model/EnterpriseAccountPayOrderAccountPaymentRespDtoResult.php
new file mode 100644
index 0000000..b3a7322
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAccountPayOrderAccountPaymentRespDtoResult.php
@@ -0,0 +1,374 @@
+ 'string',
+ 'message' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'orderId' => 'string',
+ 'orderStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'uniqueOrderNo' => null,
+ 'orderId' => null,
+ 'orderStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'orderId' => 'orderId',
+ 'orderStatus' => 'orderStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'orderId' => 'setOrderId',
+ 'orderStatus' => 'setOrderStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'orderId' => 'getOrderId',
+ 'orderStatus' => 'getOrderStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['orderStatus'] = isset($data['orderStatus']) ? $data['orderStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 响应编码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 响应描述信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 唯一订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 请求订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderStatus
+ * @return string
+ */
+ public function getOrderStatus()
+ {
+ return $this->container['orderStatus'];
+ }
+
+ /**
+ * Sets orderStatus
+ * @param string $orderStatus 订单状态
+ * @return $this
+ */
+ public function setOrderStatus($orderStatus)
+ {
+ $this->container['orderStatus'] = $orderStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/EnterpriseAccountPayOrderOrderInfoDtoParam.php b/lib/Service/Account/Model/EnterpriseAccountPayOrderOrderInfoDtoParam.php
new file mode 100644
index 0000000..60ee19b
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAccountPayOrderOrderInfoDtoParam.php
@@ -0,0 +1,429 @@
+ 'string',
+ 'orderAmount' => 'float',
+ 'fundProcessType' => 'string',
+ 'goodsName' => 'string',
+ 'expiredTime' => 'string',
+ 'notifyUrl' => 'string',
+ 'memo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'orderId' => null,
+ 'orderAmount' => null,
+ 'fundProcessType' => null,
+ 'goodsName' => null,
+ 'expiredTime' => null,
+ 'notifyUrl' => null,
+ 'memo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'orderId' => 'orderId',
+ 'orderAmount' => 'orderAmount',
+ 'fundProcessType' => 'fundProcessType',
+ 'goodsName' => 'goodsName',
+ 'expiredTime' => 'expiredTime',
+ 'notifyUrl' => 'notifyUrl',
+ 'memo' => 'memo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'orderId' => 'setOrderId',
+ 'orderAmount' => 'setOrderAmount',
+ 'fundProcessType' => 'setFundProcessType',
+ 'goodsName' => 'setGoodsName',
+ 'expiredTime' => 'setExpiredTime',
+ 'notifyUrl' => 'setNotifyUrl',
+ 'memo' => 'setMemo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'orderId' => 'getOrderId',
+ 'orderAmount' => 'getOrderAmount',
+ 'fundProcessType' => 'getFundProcessType',
+ 'goodsName' => 'getGoodsName',
+ 'expiredTime' => 'getExpiredTime',
+ 'notifyUrl' => 'getNotifyUrl',
+ 'memo' => 'getMemo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['fundProcessType'] = isset($data['fundProcessType']) ? $data['fundProcessType'] : null;
+ $this->container['goodsName'] = isset($data['goodsName']) ? $data['goodsName'] : null;
+ $this->container['expiredTime'] = isset($data['expiredTime']) ? $data['expiredTime'] : null;
+ $this->container['notifyUrl'] = isset($data['notifyUrl']) ? $data['notifyUrl'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId orderId
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount orderAmount
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->container['fundProcessType'];
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType fundProcessType
+ * @return $this
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->container['fundProcessType'] = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->container['goodsName'];
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName goodsName
+ * @return $this
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->container['goodsName'] = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->container['expiredTime'];
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime expiredTime
+ * @return $this
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->container['expiredTime'] = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->container['notifyUrl'];
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl notifyUrl
+ * @return $this
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->container['notifyUrl'] = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo memo
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/EnterpriseAccountPayOrderRequest.php b/lib/Service/Account/Model/EnterpriseAccountPayOrderRequest.php
new file mode 100644
index 0000000..c1883bf
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAccountPayOrderRequest.php
@@ -0,0 +1,41 @@
+body;
+ }
+
+ /**
+ * Sets body
+ * @param $body
+ * @return EnterpriseAccountPayOrderRequest
+ */
+ public function setBody($body)
+ {
+ $this->body = $body;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'enterpriseAccountPayOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseAccountPayOrderRequestMarshaller.php b/lib/Service/Account/Model/EnterpriseAccountPayOrderRequestMarshaller.php
new file mode 100644
index 0000000..0600d7d
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAccountPayOrderRequestMarshaller.php
@@ -0,0 +1,79 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $content = \GuzzleHttp\json_encode($request->getBody());
+ $internalRequest->setContent(\GuzzleHttp\Psr7\stream_for($content));
+ $internalRequest->addHeader(Headers::CONTENT_LENGTH, strlen($content));
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+EnterpriseAccountPayOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/EnterpriseAccountPayOrderResponse.php b/lib/Service/Account/Model/EnterpriseAccountPayOrderResponse.php
new file mode 100644
index 0000000..c0443f8
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAccountPayOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return EnterpriseAccountPayOrderAccountPaymentRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseAccountPayOrderResponseUnMarshaller.php b/lib/Service/Account/Model/EnterpriseAccountPayOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..dc7fd62
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAccountPayOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'orderStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'orderStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'orderStatus' => 'orderStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'orderStatus' => 'setOrderStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'orderStatus' => 'getOrderStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['orderStatus'] = isset($data['orderStatus']) ? $data['orderStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 请求状态码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 响应描述信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户请求订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝唯一订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderStatus
+ * @return string
+ */
+ public function getOrderStatus()
+ {
+ return $this->container['orderStatus'];
+ }
+
+ /**
+ * Sets orderStatus
+ * @param string $orderStatus 订单状态
+ * @return $this
+ */
+ public function setOrderStatus($orderStatus)
+ {
+ $this->container['orderStatus'] = $orderStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentOrderRequest.php b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderRequest.php
new file mode 100644
index 0000000..78091a7
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderRequest.php
@@ -0,0 +1,249 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerNotifyUrl
+ * @return string
+ */
+ public function getPayerNotifyUrl()
+ {
+ return $this->payerNotifyUrl;
+ }
+
+ /**
+ * Sets payerNotifyUrl
+ * @param string $payerNotifyUrl
+ * @return EnterpriseAutoPaymentOrderRequest
+ */
+ public function setPayerNotifyUrl($payerNotifyUrl)
+ {
+ $this->payerNotifyUrl = $payerNotifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'enterpriseAutoPaymentOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentOrderRequestMarshaller.php b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderRequestMarshaller.php
new file mode 100644
index 0000000..99f3756
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getPayerNotifyUrl() != null) {
+ $internalRequest->addParameter('payerNotifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getPayerNotifyUrl(), 'string', 'url'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+EnterpriseAutoPaymentOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentOrderResponse.php b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderResponse.php
new file mode 100644
index 0000000..6d39e40
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return EnterpriseAutoPaymentOrderAutoPaymentRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentOrderResponseUnMarshaller.php b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..890fb2f
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderAmount' => 'float',
+ 'orderStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'uniqueOrderNo' => null,
+ 'merchantNo' => null,
+ 'orderAmount' => null,
+ 'orderStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderAmount' => 'orderAmount',
+ 'orderStatus' => 'orderStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderAmount' => 'setOrderAmount',
+ 'orderStatus' => 'setOrderStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderAmount' => 'getOrderAmount',
+ 'orderStatus' => 'getOrderStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['orderStatus'] = isset($data['orderStatus']) ? $data['orderStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 响应编码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 响应描述信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝唯订单一号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 收单商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 订单金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderStatus
+ * @return string
+ */
+ public function getOrderStatus()
+ {
+ return $this->container['orderStatus'];
+ }
+
+ /**
+ * Sets orderStatus
+ * @param string $orderStatus 订单状态
+ * @return $this
+ */
+ public function setOrderStatus($orderStatus)
+ {
+ $this->container['orderStatus'] = $orderStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentQueryRequest.php b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryRequest.php
new file mode 100644
index 0000000..087e33a
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryRequest.php
@@ -0,0 +1,119 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return EnterpriseAutoPaymentQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return EnterpriseAutoPaymentQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderDate
+ * @return string
+ */
+ public function getOrderDate()
+ {
+ return $this->orderDate;
+ }
+
+ /**
+ * Sets orderDate
+ * @param string $orderDate
+ * @return EnterpriseAutoPaymentQueryRequest
+ */
+ public function setOrderDate($orderDate)
+ {
+ $this->orderDate = $orderDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return EnterpriseAutoPaymentQueryRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'enterpriseAutoPaymentQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentQueryRequestMarshaller.php b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryRequestMarshaller.php
new file mode 100644
index 0000000..f06d24f
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+EnterpriseAutoPaymentQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentQueryResponse.php b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryResponse.php
new file mode 100644
index 0000000..92ef18e
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return EnterpriseAutoPaymentQueryAutoPaymentQueryRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseAutoPaymentQueryResponseUnMarshaller.php b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..3af06b6
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseAutoPaymentQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerMerchantNo
+ * @return string
+ */
+ public function getPayerMerchantNo()
+ {
+ return $this->payerMerchantNo;
+ }
+
+ /**
+ * Sets payerMerchantNo
+ * @param string $payerMerchantNo
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setPayerMerchantNo($payerMerchantNo)
+ {
+ $this->payerMerchantNo = $payerMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerNotifyUrl
+ * @return string
+ */
+ public function getPayerNotifyUrl()
+ {
+ return $this->payerNotifyUrl;
+ }
+
+ /**
+ * Sets payerNotifyUrl
+ * @param string $payerNotifyUrl
+ * @return EnterpriseWithholdingOrderRequest
+ */
+ public function setPayerNotifyUrl($payerNotifyUrl)
+ {
+ $this->payerNotifyUrl = $payerNotifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'enterpriseWithholdingOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseWithholdingOrderRequestMarshaller.php b/lib/Service/Account/Model/EnterpriseWithholdingOrderRequestMarshaller.php
new file mode 100644
index 0000000..9843f21
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseWithholdingOrderRequestMarshaller.php
@@ -0,0 +1,121 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getPayerMerchantNo() != null) {
+ $internalRequest->addParameter('payerMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPayerMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getPayerNotifyUrl() != null) {
+ $internalRequest->addParameter('payerNotifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getPayerNotifyUrl(), 'string', 'url'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+EnterpriseWithholdingOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/EnterpriseWithholdingOrderResponse.php b/lib/Service/Account/Model/EnterpriseWithholdingOrderResponse.php
new file mode 100644
index 0000000..6d7ff8a
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseWithholdingOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return EnterpriseWithholdingOrderWithholdingPaymentRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/EnterpriseWithholdingOrderResponseUnMarshaller.php b/lib/Service/Account/Model/EnterpriseWithholdingOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..d6f74bd
--- /dev/null
+++ b/lib/Service/Account/Model/EnterpriseWithholdingOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 响应编码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 响应描述信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户请求订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝唯一订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/PayCancelRemitCancelRespDTOResult.php b/lib/Service/Account/Model/PayCancelRemitCancelRespDTOResult.php
new file mode 100644
index 0000000..5161234
--- /dev/null
+++ b/lib/Service/Account/Model/PayCancelRemitCancelRespDTOResult.php
@@ -0,0 +1,320 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 撤销结果
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/PayCancelRequest.php b/lib/Service/Account/Model/PayCancelRequest.php
new file mode 100644
index 0000000..727b929
--- /dev/null
+++ b/lib/Service/Account/Model/PayCancelRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return PayCancelRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->orderNo;
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo
+ * @return PayCancelRequest
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->orderNo = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cancelReason
+ * @return string
+ */
+ public function getCancelReason()
+ {
+ return $this->cancelReason;
+ }
+
+ /**
+ * Sets cancelReason
+ * @param string $cancelReason
+ * @return PayCancelRequest
+ */
+ public function setCancelReason($cancelReason)
+ {
+ $this->cancelReason = $cancelReason;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'payCancel';
+ }
+
+}
diff --git a/lib/Service/Account/Model/PayCancelRequestMarshaller.php b/lib/Service/Account/Model/PayCancelRequestMarshaller.php
new file mode 100644
index 0000000..98584c8
--- /dev/null
+++ b/lib/Service/Account/Model/PayCancelRequestMarshaller.php
@@ -0,0 +1,89 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getOrderNo() != null) {
+ $internalRequest->addParameter('orderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderNo(), 'string'));
+ }
+ if ($request->getCancelReason() != null) {
+ $internalRequest->addParameter('cancelReason',
+ ObjectSerializer::sanitizeForSerialization($request->getCancelReason(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+PayCancelRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/PayCancelResponse.php b/lib/Service/Account/Model/PayCancelResponse.php
new file mode 100644
index 0000000..9bc5536
--- /dev/null
+++ b/lib/Service/Account/Model/PayCancelResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return PayCancelRemitCancelRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/PayCancelResponseUnMarshaller.php b/lib/Service/Account/Model/PayCancelResponseUnMarshaller.php
new file mode 100644
index 0000000..940b82f
--- /dev/null
+++ b/lib/Service/Account/Model/PayCancelResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'orderNo' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'orderNo' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'orderNo' => 'orderNo',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'orderNo' => 'setOrderNo',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'orderNo' => 'getOrderNo',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝付款订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/PayOrderRequest.php b/lib/Service/Account/Model/PayOrderRequest.php
new file mode 100644
index 0000000..97671da
--- /dev/null
+++ b/lib/Service/Account/Model/PayOrderRequest.php
@@ -0,0 +1,405 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return PayOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return PayOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return PayOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return PayOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeChargeSide
+ * @return string
+ */
+ public function getFeeChargeSide()
+ {
+ return $this->feeChargeSide;
+ }
+
+ /**
+ * Sets feeChargeSide
+ * @param string $feeChargeSide
+ * @return PayOrderRequest
+ */
+ public function setFeeChargeSide($feeChargeSide)
+ {
+ $this->feeChargeSide = $feeChargeSide;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->receiveType;
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType
+ * @return PayOrderRequest
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->receiveType = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverAccountNo
+ * @return string
+ */
+ public function getReceiverAccountNo()
+ {
+ return $this->receiverAccountNo;
+ }
+
+ /**
+ * Sets receiverAccountNo
+ * @param string $receiverAccountNo
+ * @return PayOrderRequest
+ */
+ public function setReceiverAccountNo($receiverAccountNo)
+ {
+ $this->receiverAccountNo = $receiverAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverAccountName
+ * @return string
+ */
+ public function getReceiverAccountName()
+ {
+ return $this->receiverAccountName;
+ }
+
+ /**
+ * Sets receiverAccountName
+ * @param string $receiverAccountName
+ * @return PayOrderRequest
+ */
+ public function setReceiverAccountName($receiverAccountName)
+ {
+ $this->receiverAccountName = $receiverAccountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverBankCode
+ * @return string
+ */
+ public function getReceiverBankCode()
+ {
+ return $this->receiverBankCode;
+ }
+
+ /**
+ * Sets receiverBankCode
+ * @param string $receiverBankCode
+ * @return PayOrderRequest
+ */
+ public function setReceiverBankCode($receiverBankCode)
+ {
+ $this->receiverBankCode = $receiverBankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankAccountType
+ * @return string
+ */
+ public function getBankAccountType()
+ {
+ return $this->bankAccountType;
+ }
+
+ /**
+ * Sets bankAccountType
+ * @param string $bankAccountType
+ * @return PayOrderRequest
+ */
+ public function setBankAccountType($bankAccountType)
+ {
+ $this->bankAccountType = $bankAccountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets branchBankCode
+ * @return string
+ */
+ public function getBranchBankCode()
+ {
+ return $this->branchBankCode;
+ }
+
+ /**
+ * Sets branchBankCode
+ * @param string $branchBankCode
+ * @return PayOrderRequest
+ */
+ public function setBranchBankCode($branchBankCode)
+ {
+ $this->branchBankCode = $branchBankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets comments
+ * @return string
+ */
+ public function getComments()
+ {
+ return $this->comments;
+ }
+
+ /**
+ * Sets comments
+ * @param string $comments
+ * @return PayOrderRequest
+ */
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminalType
+ * @return string
+ */
+ public function getTerminalType()
+ {
+ return $this->terminalType;
+ }
+
+ /**
+ * Sets terminalType
+ * @param string $terminalType
+ * @return PayOrderRequest
+ */
+ public function setTerminalType($terminalType)
+ {
+ $this->terminalType = $terminalType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return PayOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->remark;
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark
+ * @return PayOrderRequest
+ */
+ public function setRemark($remark)
+ {
+ $this->remark = $remark;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'payOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/PayOrderRequestMarshaller.php b/lib/Service/Account/Model/PayOrderRequestMarshaller.php
new file mode 100644
index 0000000..c1f0a6f
--- /dev/null
+++ b/lib/Service/Account/Model/PayOrderRequestMarshaller.php
@@ -0,0 +1,137 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getFeeChargeSide() != null) {
+ $internalRequest->addParameter('feeChargeSide',
+ ObjectSerializer::sanitizeForSerialization($request->getFeeChargeSide(), 'string'));
+ }
+ if ($request->getReceiveType() != null) {
+ $internalRequest->addParameter('receiveType',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiveType(), 'string'));
+ }
+ if ($request->getReceiverAccountNo() != null) {
+ $internalRequest->addParameter('receiverAccountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiverAccountNo(), 'string'));
+ }
+ if ($request->getReceiverAccountName() != null) {
+ $internalRequest->addParameter('receiverAccountName',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiverAccountName(), 'string'));
+ }
+ if ($request->getReceiverBankCode() != null) {
+ $internalRequest->addParameter('receiverBankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiverBankCode(), 'string'));
+ }
+ if ($request->getBankAccountType() != null) {
+ $internalRequest->addParameter('bankAccountType',
+ ObjectSerializer::sanitizeForSerialization($request->getBankAccountType(), 'string'));
+ }
+ if ($request->getBranchBankCode() != null) {
+ $internalRequest->addParameter('branchBankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBranchBankCode(), 'string'));
+ }
+ if ($request->getComments() != null) {
+ $internalRequest->addParameter('comments',
+ ObjectSerializer::sanitizeForSerialization($request->getComments(), 'string'));
+ }
+ if ($request->getTerminalType() != null) {
+ $internalRequest->addParameter('terminalType',
+ ObjectSerializer::sanitizeForSerialization($request->getTerminalType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getRemark() != null) {
+ $internalRequest->addParameter('remark',
+ ObjectSerializer::sanitizeForSerialization($request->getRemark(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+PayOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/PayOrderResponse.php b/lib/Service/Account/Model/PayOrderResponse.php
new file mode 100644
index 0000000..38e04fa
--- /dev/null
+++ b/lib/Service/Account/Model/PayOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return PayOrderRemitRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/PayOrderResponseUnMarshaller.php b/lib/Service/Account/Model/PayOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..104fe6f
--- /dev/null
+++ b/lib/Service/Account/Model/PayOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'orderNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderAmount' => 'float',
+ 'receiveAmount' => 'float',
+ 'debitAmount' => 'float',
+ 'orderTime' => 'string',
+ 'finishTime' => 'string',
+ 'fee' => 'float',
+ 'feeUndertakerMerchantNo' => 'string',
+ 'status' => 'string',
+ 'failReason' => 'string',
+ 'receiveType' => 'string',
+ 'receiverAccountNo' => 'string',
+ 'receiverAccountName' => 'string',
+ 'receiverBankCode' => 'string',
+ 'comments' => 'string',
+ 'isReversed' => 'bool',
+ 'reverseTime' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'orderNo' => null,
+ 'merchantNo' => null,
+ 'orderAmount' => null,
+ 'receiveAmount' => null,
+ 'debitAmount' => null,
+ 'orderTime' => 'date-time',
+ 'finishTime' => 'date-time',
+ 'fee' => null,
+ 'feeUndertakerMerchantNo' => null,
+ 'status' => null,
+ 'failReason' => null,
+ 'receiveType' => null,
+ 'receiverAccountNo' => null,
+ 'receiverAccountName' => null,
+ 'receiverBankCode' => null,
+ 'comments' => null,
+ 'isReversed' => null,
+ 'reverseTime' => 'date-time',
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'orderNo' => 'orderNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderAmount' => 'orderAmount',
+ 'receiveAmount' => 'receiveAmount',
+ 'debitAmount' => 'debitAmount',
+ 'orderTime' => 'orderTime',
+ 'finishTime' => 'finishTime',
+ 'fee' => 'fee',
+ 'feeUndertakerMerchantNo' => 'feeUndertakerMerchantNo',
+ 'status' => 'status',
+ 'failReason' => 'failReason',
+ 'receiveType' => 'receiveType',
+ 'receiverAccountNo' => 'receiverAccountNo',
+ 'receiverAccountName' => 'receiverAccountName',
+ 'receiverBankCode' => 'receiverBankCode',
+ 'comments' => 'comments',
+ 'isReversed' => 'isReversed',
+ 'reverseTime' => 'reverseTime',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'orderNo' => 'setOrderNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderAmount' => 'setOrderAmount',
+ 'receiveAmount' => 'setReceiveAmount',
+ 'debitAmount' => 'setDebitAmount',
+ 'orderTime' => 'setOrderTime',
+ 'finishTime' => 'setFinishTime',
+ 'fee' => 'setFee',
+ 'feeUndertakerMerchantNo' => 'setFeeUndertakerMerchantNo',
+ 'status' => 'setStatus',
+ 'failReason' => 'setFailReason',
+ 'receiveType' => 'setReceiveType',
+ 'receiverAccountNo' => 'setReceiverAccountNo',
+ 'receiverAccountName' => 'setReceiverAccountName',
+ 'receiverBankCode' => 'setReceiverBankCode',
+ 'comments' => 'setComments',
+ 'isReversed' => 'setIsReversed',
+ 'reverseTime' => 'setReverseTime',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'orderNo' => 'getOrderNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderAmount' => 'getOrderAmount',
+ 'receiveAmount' => 'getReceiveAmount',
+ 'debitAmount' => 'getDebitAmount',
+ 'orderTime' => 'getOrderTime',
+ 'finishTime' => 'getFinishTime',
+ 'fee' => 'getFee',
+ 'feeUndertakerMerchantNo' => 'getFeeUndertakerMerchantNo',
+ 'status' => 'getStatus',
+ 'failReason' => 'getFailReason',
+ 'receiveType' => 'getReceiveType',
+ 'receiverAccountNo' => 'getReceiverAccountNo',
+ 'receiverAccountName' => 'getReceiverAccountName',
+ 'receiverBankCode' => 'getReceiverBankCode',
+ 'comments' => 'getComments',
+ 'isReversed' => 'getIsReversed',
+ 'reverseTime' => 'getReverseTime',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['receiveAmount'] = isset($data['receiveAmount']) ? $data['receiveAmount'] : null;
+ $this->container['debitAmount'] = isset($data['debitAmount']) ? $data['debitAmount'] : null;
+ $this->container['orderTime'] = isset($data['orderTime']) ? $data['orderTime'] : null;
+ $this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
+ $this->container['fee'] = isset($data['fee']) ? $data['fee'] : null;
+ $this->container['feeUndertakerMerchantNo'] = isset($data['feeUndertakerMerchantNo']) ? $data['feeUndertakerMerchantNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ $this->container['receiveType'] = isset($data['receiveType']) ? $data['receiveType'] : null;
+ $this->container['receiverAccountNo'] = isset($data['receiverAccountNo']) ? $data['receiverAccountNo'] : null;
+ $this->container['receiverAccountName'] = isset($data['receiverAccountName']) ? $data['receiverAccountName'] : null;
+ $this->container['receiverBankCode'] = isset($data['receiverBankCode']) ? $data['receiverBankCode'] : null;
+ $this->container['comments'] = isset($data['comments']) ? $data['comments'] : null;
+ $this->container['isReversed'] = isset($data['isReversed']) ? $data['isReversed'] : null;
+ $this->container['reverseTime'] = isset($data['reverseTime']) ? $data['reverseTime'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝付款订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 付款金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveAmount
+ * @return float
+ */
+ public function getReceiveAmount()
+ {
+ return $this->container['receiveAmount'];
+ }
+
+ /**
+ * Sets receiveAmount
+ * @param float $receiveAmount 到账金额
+ * @return $this
+ */
+ public function setReceiveAmount($receiveAmount)
+ {
+ $this->container['receiveAmount'] = $receiveAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets debitAmount
+ * @return float
+ */
+ public function getDebitAmount()
+ {
+ return $this->container['debitAmount'];
+ }
+
+ /**
+ * Sets debitAmount
+ * @param float $debitAmount 扣账金额
+ * @return $this
+ */
+ public function setDebitAmount($debitAmount)
+ {
+ $this->container['debitAmount'] = $debitAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderTime
+ * @return string
+ */
+ public function getOrderTime()
+ {
+ return $this->container['orderTime'];
+ }
+
+ /**
+ * Sets orderTime
+ * @param string $orderTime 付款下单时间
+ * @return $this
+ */
+ public function setOrderTime($orderTime)
+ {
+ $this->container['orderTime'] = $orderTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets finishTime
+ * @return string
+ */
+ public function getFinishTime()
+ {
+ return $this->container['finishTime'];
+ }
+
+ /**
+ * Sets finishTime
+ * @param string $finishTime 付款完成时间
+ * @return $this
+ */
+ public function setFinishTime($finishTime)
+ {
+ $this->container['finishTime'] = $finishTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets fee
+ * @return float
+ */
+ public function getFee()
+ {
+ return $this->container['fee'];
+ }
+
+ /**
+ * Sets fee
+ * @param float $fee 手续费
+ * @return $this
+ */
+ public function setFee($fee)
+ {
+ $this->container['fee'] = $fee;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeUndertakerMerchantNo
+ * @return string
+ */
+ public function getFeeUndertakerMerchantNo()
+ {
+ return $this->container['feeUndertakerMerchantNo'];
+ }
+
+ /**
+ * Sets feeUndertakerMerchantNo
+ * @param string $feeUndertakerMerchantNo 手续费承担方商编
+ * @return $this
+ */
+ public function setFeeUndertakerMerchantNo($feeUndertakerMerchantNo)
+ {
+ $this->container['feeUndertakerMerchantNo'] = $feeUndertakerMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->container['receiveType'];
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType 到账类型
+ * @return $this
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->container['receiveType'] = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverAccountNo
+ * @return string
+ */
+ public function getReceiverAccountNo()
+ {
+ return $this->container['receiverAccountNo'];
+ }
+
+ /**
+ * Sets receiverAccountNo
+ * @param string $receiverAccountNo 收款方银行账号
+ * @return $this
+ */
+ public function setReceiverAccountNo($receiverAccountNo)
+ {
+ $this->container['receiverAccountNo'] = $receiverAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverAccountName
+ * @return string
+ */
+ public function getReceiverAccountName()
+ {
+ return $this->container['receiverAccountName'];
+ }
+
+ /**
+ * Sets receiverAccountName
+ * @param string $receiverAccountName 收款方开户名
+ * @return $this
+ */
+ public function setReceiverAccountName($receiverAccountName)
+ {
+ $this->container['receiverAccountName'] = $receiverAccountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverBankCode
+ * @return string
+ */
+ public function getReceiverBankCode()
+ {
+ return $this->container['receiverBankCode'];
+ }
+
+ /**
+ * Sets receiverBankCode
+ * @param string $receiverBankCode 收款方开户行编码
+ * @return $this
+ */
+ public function setReceiverBankCode($receiverBankCode)
+ {
+ $this->container['receiverBankCode'] = $receiverBankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets comments
+ * @return string
+ */
+ public function getComments()
+ {
+ return $this->container['comments'];
+ }
+
+ /**
+ * Sets comments
+ * @param string $comments 银行附言
+ * @return $this
+ */
+ public function setComments($comments)
+ {
+ $this->container['comments'] = $comments;
+
+ return $this;
+ }
+
+ /**
+ * Gets isReversed
+ * @return bool
+ */
+ public function getIsReversed()
+ {
+ return $this->container['isReversed'];
+ }
+
+ /**
+ * Sets isReversed
+ * @param bool $isReversed 冲退标识
+ * @return $this
+ */
+ public function setIsReversed($isReversed)
+ {
+ $this->container['isReversed'] = $isReversed;
+
+ return $this;
+ }
+
+ /**
+ * Gets reverseTime
+ * @return string
+ */
+ public function getReverseTime()
+ {
+ return $this->container['reverseTime'];
+ }
+
+ /**
+ * Sets reverseTime
+ * @param string $reverseTime 冲退时间
+ * @return $this
+ */
+ public function setReverseTime($reverseTime)
+ {
+ $this->container['reverseTime'] = $reverseTime;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/PayQueryRequest.php b/lib/Service/Account/Model/PayQueryRequest.php
new file mode 100644
index 0000000..f4ede1c
--- /dev/null
+++ b/lib/Service/Account/Model/PayQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return PayQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return PayQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->orderNo;
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo
+ * @return PayQueryRequest
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->orderNo = $orderNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'payQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/PayQueryRequestMarshaller.php b/lib/Service/Account/Model/PayQueryRequestMarshaller.php
new file mode 100644
index 0000000..450f8a5
--- /dev/null
+++ b/lib/Service/Account/Model/PayQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+PayQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/PayQueryResponse.php b/lib/Service/Account/Model/PayQueryResponse.php
new file mode 100644
index 0000000..31bd22b
--- /dev/null
+++ b/lib/Service/Account/Model/PayQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return PayQueryRemitOrderQueryRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/PayQueryResponseUnMarshaller.php b/lib/Service/Account/Model/PayQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..50eea92
--- /dev/null
+++ b/lib/Service/Account/Model/PayQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'data' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'data' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'data' => 'data',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'data' => 'setData',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'data' => 'getData',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['data'] = isset($data['data']) ? $data['data'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ * @return string
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ * @param string $data 返回数据
+ * @return $this
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/ReceiptGetRequest.php b/lib/Service/Account/Model/ReceiptGetRequest.php
new file mode 100644
index 0000000..a3b4b28
--- /dev/null
+++ b/lib/Service/Account/Model/ReceiptGetRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ReceiptGetRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->orderNo;
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo
+ * @return ReceiptGetRequest
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->orderNo = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets tradeType
+ * @return string
+ */
+ public function getTradeType()
+ {
+ return $this->tradeType;
+ }
+
+ /**
+ * Sets tradeType
+ * @param string $tradeType
+ * @return ReceiptGetRequest
+ */
+ public function setTradeType($tradeType)
+ {
+ $this->tradeType = $tradeType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'receiptGet';
+ }
+
+}
diff --git a/lib/Service/Account/Model/ReceiptGetRequestMarshaller.php b/lib/Service/Account/Model/ReceiptGetRequestMarshaller.php
new file mode 100644
index 0000000..85fb423
--- /dev/null
+++ b/lib/Service/Account/Model/ReceiptGetRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ReceiptGetRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/ReceiptGetResponse.php b/lib/Service/Account/Model/ReceiptGetResponse.php
new file mode 100644
index 0000000..3f88c42
--- /dev/null
+++ b/lib/Service/Account/Model/ReceiptGetResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ReceiptGetReceiptRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/ReceiptGetResponseUnMarshaller.php b/lib/Service/Account/Model/ReceiptGetResponseUnMarshaller.php
new file mode 100644
index 0000000..282e6be
--- /dev/null
+++ b/lib/Service/Account/Model/ReceiptGetResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'orderNo' => 'string',
+ 'requestNo' => 'string',
+ 'merchantNo' => 'string',
+ 'status' => 'string',
+ 'amount' => 'float',
+ 'orderAmount' => 'float',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'orderNo' => null,
+ 'requestNo' => null,
+ 'merchantNo' => null,
+ 'status' => null,
+ 'amount' => null,
+ 'orderAmount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'orderNo' => 'orderNo',
+ 'requestNo' => 'requestNo',
+ 'merchantNo' => 'merchantNo',
+ 'status' => 'status',
+ 'amount' => 'amount',
+ 'orderAmount' => 'orderAmount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'orderNo' => 'setOrderNo',
+ 'requestNo' => 'setRequestNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'status' => 'setStatus',
+ 'amount' => 'setAmount',
+ 'orderAmount' => 'setOrderAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'orderNo' => 'getOrderNo',
+ 'requestNo' => 'getRequestNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'status' => 'getStatus',
+ 'amount' => 'getAmount',
+ 'orderAmount' => 'getOrderAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 接口返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 接口返回描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 提现订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 提现商户号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 提现订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->container['amount'];
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount 提现金额
+ * @return $this
+ */
+ public function setAmount($amount)
+ {
+ $this->container['amount'] = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 银行扣款金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/RechargeBankOrderRequest.php b/lib/Service/Account/Model/RechargeBankOrderRequest.php
new file mode 100644
index 0000000..31d95ec
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeBankOrderRequest.php
@@ -0,0 +1,275 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RechargeBankOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RechargeBankOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RechargeBankOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount
+ * @return RechargeBankOrderRequest
+ */
+ public function setAmount($amount)
+ {
+ $this->amount = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return RechargeBankOrderRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return RechargeBankOrderRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RechargeBankOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets usage
+ * @return string
+ */
+ public function getUsage()
+ {
+ return $this->usage;
+ }
+
+ /**
+ * Sets usage
+ * @param string $usage
+ * @return RechargeBankOrderRequest
+ */
+ public function setUsage($usage)
+ {
+ $this->usage = $usage;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->remark;
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark
+ * @return RechargeBankOrderRequest
+ */
+ public function setRemark($remark)
+ {
+ $this->remark = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Gets clientIp
+ * @return string
+ */
+ public function getClientIp()
+ {
+ return $this->clientIp;
+ }
+
+ /**
+ * Sets clientIp
+ * @param string $clientIp
+ * @return RechargeBankOrderRequest
+ */
+ public function setClientIp($clientIp)
+ {
+ $this->clientIp = $clientIp;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'rechargeBankOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeBankOrderRequestMarshaller.php b/lib/Service/Account/Model/RechargeBankOrderRequestMarshaller.php
new file mode 100644
index 0000000..5c7fe39
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeBankOrderRequestMarshaller.php
@@ -0,0 +1,117 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getAmount() != null) {
+ $internalRequest->addParameter('amount',
+ ObjectSerializer::sanitizeForSerialization($request->getAmount(), 'float'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getBankCode() != null) {
+ $internalRequest->addParameter('bankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCode(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getUsage() != null) {
+ $internalRequest->addParameter('usage',
+ ObjectSerializer::sanitizeForSerialization($request->getUsage(), 'string'));
+ }
+ if ($request->getRemark() != null) {
+ $internalRequest->addParameter('remark',
+ ObjectSerializer::sanitizeForSerialization($request->getRemark(), 'string'));
+ }
+ if ($request->getClientIp() != null) {
+ $internalRequest->addParameter('clientIp',
+ ObjectSerializer::sanitizeForSerialization($request->getClientIp(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RechargeBankOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/RechargeBankOrderResponse.php b/lib/Service/Account/Model/RechargeBankOrderResponse.php
new file mode 100644
index 0000000..b3be3d8
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeBankOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RechargeBankOrderBankPayRechargeRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeBankOrderResponseUnMarshaller.php b/lib/Service/Account/Model/RechargeBankOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..86f59f4
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeBankOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'orderNo' => 'string',
+ 'requestNo' => 'string',
+ 'merchantNo' => 'string',
+ 'status' => 'string',
+ 'orderAmount' => 'float',
+ 'payUrl' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'orderNo' => null,
+ 'requestNo' => null,
+ 'merchantNo' => null,
+ 'status' => null,
+ 'orderAmount' => null,
+ 'payUrl' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'orderNo' => 'orderNo',
+ 'requestNo' => 'requestNo',
+ 'merchantNo' => 'merchantNo',
+ 'status' => 'status',
+ 'orderAmount' => 'orderAmount',
+ 'payUrl' => 'payUrl',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'orderNo' => 'setOrderNo',
+ 'requestNo' => 'setRequestNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'status' => 'setStatus',
+ 'orderAmount' => 'setOrderAmount',
+ 'payUrl' => 'setPayUrl',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'orderNo' => 'getOrderNo',
+ 'requestNo' => 'getRequestNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'status' => 'getStatus',
+ 'orderAmount' => 'getOrderAmount',
+ 'payUrl' => 'getPayUrl',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['payUrl'] = isset($data['payUrl']) ? $data['payUrl'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 充值商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 支付金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets payUrl
+ * @return string
+ */
+ public function getPayUrl()
+ {
+ return $this->container['payUrl'];
+ }
+
+ /**
+ * Sets payUrl
+ * @param string $payUrl 收银台链接
+ * @return $this
+ */
+ public function setPayUrl($payUrl)
+ {
+ $this->container['payUrl'] = $payUrl;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/RechargeOnlinebankOrderRequest.php b/lib/Service/Account/Model/RechargeOnlinebankOrderRequest.php
new file mode 100644
index 0000000..b92255e
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOnlinebankOrderRequest.php
@@ -0,0 +1,249 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setAmount($amount)
+ {
+ $this->amount = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets payType
+ * @return string
+ */
+ public function getPayType()
+ {
+ return $this->payType;
+ }
+
+ /**
+ * Sets payType
+ * @param string $payType
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setPayType($payType)
+ {
+ $this->payType = $payType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->remark;
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setRemark($remark)
+ {
+ $this->remark = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnUrl
+ * @return string
+ */
+ public function getReturnUrl()
+ {
+ return $this->returnUrl;
+ }
+
+ /**
+ * Sets returnUrl
+ * @param string $returnUrl
+ * @return RechargeOnlinebankOrderRequest
+ */
+ public function setReturnUrl($returnUrl)
+ {
+ $this->returnUrl = $returnUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'rechargeOnlinebankOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeOnlinebankOrderRequestMarshaller.php b/lib/Service/Account/Model/RechargeOnlinebankOrderRequestMarshaller.php
new file mode 100644
index 0000000..2a5d19c
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOnlinebankOrderRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getAmount() != null) {
+ $internalRequest->addParameter('amount',
+ ObjectSerializer::sanitizeForSerialization($request->getAmount(), 'float'));
+ }
+ if ($request->getPayType() != null) {
+ $internalRequest->addParameter('payType',
+ ObjectSerializer::sanitizeForSerialization($request->getPayType(), 'string'));
+ }
+ if ($request->getBankCode() != null) {
+ $internalRequest->addParameter('bankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCode(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getRemark() != null) {
+ $internalRequest->addParameter('remark',
+ ObjectSerializer::sanitizeForSerialization($request->getRemark(), 'string'));
+ }
+ if ($request->getReturnUrl() != null) {
+ $internalRequest->addParameter('returnUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getReturnUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RechargeOnlinebankOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/RechargeOnlinebankOrderResponse.php b/lib/Service/Account/Model/RechargeOnlinebankOrderResponse.php
new file mode 100644
index 0000000..edc9cc1
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOnlinebankOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RechargeOnlinebankOrderOnlineBankRechargeApiRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeOnlinebankOrderResponseUnMarshaller.php b/lib/Service/Account/Model/RechargeOnlinebankOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..377d132
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOnlinebankOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'orderNo' => 'string',
+ 'requestNo' => 'string',
+ 'merchantNo' => 'string',
+ 'status' => 'string',
+ 'orderAmount' => 'float',
+ 'remitComment' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'orderNo' => null,
+ 'requestNo' => null,
+ 'merchantNo' => null,
+ 'status' => null,
+ 'orderAmount' => null,
+ 'remitComment' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'orderNo' => 'orderNo',
+ 'requestNo' => 'requestNo',
+ 'merchantNo' => 'merchantNo',
+ 'status' => 'status',
+ 'orderAmount' => 'orderAmount',
+ 'remitComment' => 'remitComment',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'orderNo' => 'setOrderNo',
+ 'requestNo' => 'setRequestNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'status' => 'setStatus',
+ 'orderAmount' => 'setOrderAmount',
+ 'remitComment' => 'setRemitComment',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'orderNo' => 'getOrderNo',
+ 'requestNo' => 'getRequestNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'status' => 'getStatus',
+ 'orderAmount' => 'getOrderAmount',
+ 'remitComment' => 'getRemitComment',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['remitComment'] = isset($data['remitComment']) ? $data['remitComment'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回消息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 充值订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 充值商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 支付金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets remitComment
+ * @return string
+ */
+ public function getRemitComment()
+ {
+ return $this->container['remitComment'];
+ }
+
+ /**
+ * Sets remitComment
+ * @param string $remitComment 汇款备注码
+ * @return $this
+ */
+ public function setRemitComment($remitComment)
+ {
+ $this->container['remitComment'] = $remitComment;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/RechargeOrderRequest.php b/lib/Service/Account/Model/RechargeOrderRequest.php
new file mode 100644
index 0000000..613bae4
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOrderRequest.php
@@ -0,0 +1,197 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RechargeOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RechargeOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RechargeOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount
+ * @return RechargeOrderRequest
+ */
+ public function setAmount($amount)
+ {
+ $this->amount = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->remark;
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark
+ * @return RechargeOrderRequest
+ */
+ public function setRemark($remark)
+ {
+ $this->remark = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Gets payType
+ * @return string
+ */
+ public function getPayType()
+ {
+ return $this->payType;
+ }
+
+ /**
+ * Sets payType
+ * @param string $payType
+ * @return RechargeOrderRequest
+ */
+ public function setPayType($payType)
+ {
+ $this->payType = $payType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RechargeOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'rechargeOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeOrderRequestMarshaller.php b/lib/Service/Account/Model/RechargeOrderRequestMarshaller.php
new file mode 100644
index 0000000..7cedef2
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOrderRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getAmount() != null) {
+ $internalRequest->addParameter('amount',
+ ObjectSerializer::sanitizeForSerialization($request->getAmount(), 'float'));
+ }
+ if ($request->getRemark() != null) {
+ $internalRequest->addParameter('remark',
+ ObjectSerializer::sanitizeForSerialization($request->getRemark(), 'string'));
+ }
+ if ($request->getPayType() != null) {
+ $internalRequest->addParameter('payType',
+ ObjectSerializer::sanitizeForSerialization($request->getPayType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RechargeOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/RechargeOrderResponse.php b/lib/Service/Account/Model/RechargeOrderResponse.php
new file mode 100644
index 0000000..4185b6d
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RechargeOrderRechargeApiRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeOrderResponseUnMarshaller.php b/lib/Service/Account/Model/RechargeOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..ba798b3
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'createTime' => 'string',
+ 'requestNo' => 'string',
+ 'orderNo' => 'string',
+ 'status' => 'string',
+ 'merchantNo' => 'string',
+ 'orderAmount' => 'float',
+ 'creditAmount' => 'float',
+ 'fee' => 'float',
+ 'payType' => 'string',
+ 'remitComment' => 'string',
+ 'bankCode' => 'string',
+ 'bankName' => 'string',
+ 'payerAccountNo' => 'string',
+ 'payerAccountName' => 'string',
+ 'remark' => 'string',
+ 'finishTime' => 'string',
+ 'failReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'createTime' => 'date-time',
+ 'requestNo' => null,
+ 'orderNo' => null,
+ 'status' => null,
+ 'merchantNo' => null,
+ 'orderAmount' => null,
+ 'creditAmount' => null,
+ 'fee' => null,
+ 'payType' => null,
+ 'remitComment' => null,
+ 'bankCode' => null,
+ 'bankName' => null,
+ 'payerAccountNo' => null,
+ 'payerAccountName' => null,
+ 'remark' => null,
+ 'finishTime' => 'date-time',
+ 'failReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'createTime' => 'createTime',
+ 'requestNo' => 'requestNo',
+ 'orderNo' => 'orderNo',
+ 'status' => 'status',
+ 'merchantNo' => 'merchantNo',
+ 'orderAmount' => 'orderAmount',
+ 'creditAmount' => 'creditAmount',
+ 'fee' => 'fee',
+ 'payType' => 'payType',
+ 'remitComment' => 'remitComment',
+ 'bankCode' => 'bankCode',
+ 'bankName' => 'bankName',
+ 'payerAccountNo' => 'payerAccountNo',
+ 'payerAccountName' => 'payerAccountName',
+ 'remark' => 'remark',
+ 'finishTime' => 'finishTime',
+ 'failReason' => 'failReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'createTime' => 'setCreateTime',
+ 'requestNo' => 'setRequestNo',
+ 'orderNo' => 'setOrderNo',
+ 'status' => 'setStatus',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderAmount' => 'setOrderAmount',
+ 'creditAmount' => 'setCreditAmount',
+ 'fee' => 'setFee',
+ 'payType' => 'setPayType',
+ 'remitComment' => 'setRemitComment',
+ 'bankCode' => 'setBankCode',
+ 'bankName' => 'setBankName',
+ 'payerAccountNo' => 'setPayerAccountNo',
+ 'payerAccountName' => 'setPayerAccountName',
+ 'remark' => 'setRemark',
+ 'finishTime' => 'setFinishTime',
+ 'failReason' => 'setFailReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'createTime' => 'getCreateTime',
+ 'requestNo' => 'getRequestNo',
+ 'orderNo' => 'getOrderNo',
+ 'status' => 'getStatus',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderAmount' => 'getOrderAmount',
+ 'creditAmount' => 'getCreditAmount',
+ 'fee' => 'getFee',
+ 'payType' => 'getPayType',
+ 'remitComment' => 'getRemitComment',
+ 'bankCode' => 'getBankCode',
+ 'bankName' => 'getBankName',
+ 'payerAccountNo' => 'getPayerAccountNo',
+ 'payerAccountName' => 'getPayerAccountName',
+ 'remark' => 'getRemark',
+ 'finishTime' => 'getFinishTime',
+ 'failReason' => 'getFailReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['creditAmount'] = isset($data['creditAmount']) ? $data['creditAmount'] : null;
+ $this->container['fee'] = isset($data['fee']) ? $data['fee'] : null;
+ $this->container['payType'] = isset($data['payType']) ? $data['payType'] : null;
+ $this->container['remitComment'] = isset($data['remitComment']) ? $data['remitComment'] : null;
+ $this->container['bankCode'] = isset($data['bankCode']) ? $data['bankCode'] : null;
+ $this->container['bankName'] = isset($data['bankName']) ? $data['bankName'] : null;
+ $this->container['payerAccountNo'] = isset($data['payerAccountNo']) ? $data['payerAccountNo'] : null;
+ $this->container['payerAccountName'] = isset($data['payerAccountName']) ? $data['payerAccountName'] : null;
+ $this->container['remark'] = isset($data['remark']) ? $data['remark'] : null;
+ $this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 下单时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 充值订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 充值商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 支付金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets creditAmount
+ * @return float
+ */
+ public function getCreditAmount()
+ {
+ return $this->container['creditAmount'];
+ }
+
+ /**
+ * Sets creditAmount
+ * @param float $creditAmount 入账金额
+ * @return $this
+ */
+ public function setCreditAmount($creditAmount)
+ {
+ $this->container['creditAmount'] = $creditAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets fee
+ * @return float
+ */
+ public function getFee()
+ {
+ return $this->container['fee'];
+ }
+
+ /**
+ * Sets fee
+ * @param float $fee 手续费
+ * @return $this
+ */
+ public function setFee($fee)
+ {
+ $this->container['fee'] = $fee;
+
+ return $this;
+ }
+
+ /**
+ * Gets payType
+ * @return string
+ */
+ public function getPayType()
+ {
+ return $this->container['payType'];
+ }
+
+ /**
+ * Sets payType
+ * @param string $payType 支付方式
+ * @return $this
+ */
+ public function setPayType($payType)
+ {
+ $this->container['payType'] = $payType;
+
+ return $this;
+ }
+
+ /**
+ * Gets remitComment
+ * @return string
+ */
+ public function getRemitComment()
+ {
+ return $this->container['remitComment'];
+ }
+
+ /**
+ * Sets remitComment
+ * @param string $remitComment 汇款备注码
+ * @return $this
+ */
+ public function setRemitComment($remitComment)
+ {
+ $this->container['remitComment'] = $remitComment;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->container['bankCode'];
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode 银行编码
+ * @return $this
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->container['bankCode'] = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankName
+ * @return string
+ */
+ public function getBankName()
+ {
+ return $this->container['bankName'];
+ }
+
+ /**
+ * Sets bankName
+ * @param string $bankName 银行名称
+ * @return $this
+ */
+ public function setBankName($bankName)
+ {
+ $this->container['bankName'] = $bankName;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerAccountNo
+ * @return string
+ */
+ public function getPayerAccountNo()
+ {
+ return $this->container['payerAccountNo'];
+ }
+
+ /**
+ * Sets payerAccountNo
+ * @param string $payerAccountNo 付款方账号
+ * @return $this
+ */
+ public function setPayerAccountNo($payerAccountNo)
+ {
+ $this->container['payerAccountNo'] = $payerAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerAccountName
+ * @return string
+ */
+ public function getPayerAccountName()
+ {
+ return $this->container['payerAccountName'];
+ }
+
+ /**
+ * Sets payerAccountName
+ * @param string $payerAccountName 付款方开户名
+ * @return $this
+ */
+ public function setPayerAccountName($payerAccountName)
+ {
+ $this->container['payerAccountName'] = $payerAccountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->container['remark'];
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark 备注
+ * @return $this
+ */
+ public function setRemark($remark)
+ {
+ $this->container['remark'] = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Gets finishTime
+ * @return string
+ */
+ public function getFinishTime()
+ {
+ return $this->container['finishTime'];
+ }
+
+ /**
+ * Sets finishTime
+ * @param string $finishTime 充值完成时间
+ * @return $this
+ */
+ public function setFinishTime($finishTime)
+ {
+ $this->container['finishTime'] = $finishTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 充值失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/RechargeQueryRequest.php b/lib/Service/Account/Model/RechargeQueryRequest.php
new file mode 100644
index 0000000..e534243
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeQueryRequest.php
@@ -0,0 +1,119 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RechargeQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RechargeQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->orderNo;
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo
+ * @return RechargeQueryRequest
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->orderNo = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RechargeQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'rechargeQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeQueryRequestMarshaller.php b/lib/Service/Account/Model/RechargeQueryRequestMarshaller.php
new file mode 100644
index 0000000..dc51551
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RechargeQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/RechargeQueryResponse.php b/lib/Service/Account/Model/RechargeQueryResponse.php
new file mode 100644
index 0000000..6218dfb
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RechargeQueryRechargeQueryApiRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/RechargeQueryResponseUnMarshaller.php b/lib/Service/Account/Model/RechargeQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..c38b97f
--- /dev/null
+++ b/lib/Service/Account/Model/RechargeQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'initiateMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'supplierAccountInfo' => '\Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplySupplierAccountInfoParam',
+ 'supplierQualInfo' => '\Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplySupplierQualInfoParam',
+ 'notifyUrl' => 'string',
+ 'appKey' => 'string',
+ 'reasonType' => 'string',
+ 'reason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'requestNo' => null,
+ 'initiateMerchantNo' => null,
+ 'merchantNo' => null,
+ 'supplierAccountInfo' => null,
+ 'supplierQualInfo' => null,
+ 'notifyUrl' => null,
+ 'appKey' => null,
+ 'reasonType' => null,
+ 'reason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'requestNo' => 'requestNo',
+ 'initiateMerchantNo' => 'initiateMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'supplierAccountInfo' => 'supplierAccountInfo',
+ 'supplierQualInfo' => 'supplierQualInfo',
+ 'notifyUrl' => 'notifyUrl',
+ 'appKey' => 'appKey',
+ 'reasonType' => 'reasonType',
+ 'reason' => 'reason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'requestNo' => 'setRequestNo',
+ 'initiateMerchantNo' => 'setInitiateMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'supplierAccountInfo' => 'setSupplierAccountInfo',
+ 'supplierQualInfo' => 'setSupplierQualInfo',
+ 'notifyUrl' => 'setNotifyUrl',
+ 'appKey' => 'setAppKey',
+ 'reasonType' => 'setReasonType',
+ 'reason' => 'setReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'requestNo' => 'getRequestNo',
+ 'initiateMerchantNo' => 'getInitiateMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'supplierAccountInfo' => 'getSupplierAccountInfo',
+ 'supplierQualInfo' => 'getSupplierQualInfo',
+ 'notifyUrl' => 'getNotifyUrl',
+ 'appKey' => 'getAppKey',
+ 'reasonType' => 'getReasonType',
+ 'reason' => 'getReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['initiateMerchantNo'] = isset($data['initiateMerchantNo']) ? $data['initiateMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['supplierAccountInfo'] = isset($data['supplierAccountInfo']) ? $data['supplierAccountInfo'] : null;
+ $this->container['supplierQualInfo'] = isset($data['supplierQualInfo']) ? $data['supplierQualInfo'] : null;
+ $this->container['notifyUrl'] = isset($data['notifyUrl']) ? $data['notifyUrl'] : null;
+ $this->container['appKey'] = isset($data['appKey']) ? $data['appKey'] : null;
+ $this->container['reasonType'] = isset($data['reasonType']) ? $data['reasonType'] : null;
+ $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo requestNo
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets initiateMerchantNo
+ * @return string
+ */
+ public function getInitiateMerchantNo()
+ {
+ return $this->container['initiateMerchantNo'];
+ }
+
+ /**
+ * Sets initiateMerchantNo
+ * @param string $initiateMerchantNo initiateMerchantNo
+ * @return $this
+ */
+ public function setInitiateMerchantNo($initiateMerchantNo)
+ {
+ $this->container['initiateMerchantNo'] = $initiateMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo merchantNo
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierAccountInfo
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplySupplierAccountInfoParam
+ */
+ public function getSupplierAccountInfo()
+ {
+ return $this->container['supplierAccountInfo'];
+ }
+
+ /**
+ * Sets supplierAccountInfo
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplySupplierAccountInfoParam $supplierAccountInfo supplierAccountInfo
+ * @return $this
+ */
+ public function setSupplierAccountInfo($supplierAccountInfo)
+ {
+ $this->container['supplierAccountInfo'] = $supplierAccountInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierQualInfo
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplySupplierQualInfoParam
+ */
+ public function getSupplierQualInfo()
+ {
+ return $this->container['supplierQualInfo'];
+ }
+
+ /**
+ * Sets supplierQualInfo
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplySupplierQualInfoParam $supplierQualInfo supplierQualInfo
+ * @return $this
+ */
+ public function setSupplierQualInfo($supplierQualInfo)
+ {
+ $this->container['supplierQualInfo'] = $supplierQualInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->container['notifyUrl'];
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl notifyUrl
+ * @return $this
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->container['notifyUrl'] = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets appKey
+ * @return string
+ */
+ public function getAppKey()
+ {
+ return $this->container['appKey'];
+ }
+
+ /**
+ * Sets appKey
+ * @param string $appKey appKey
+ * @return $this
+ */
+ public function setAppKey($appKey)
+ {
+ $this->container['appKey'] = $appKey;
+
+ return $this;
+ }
+
+ /**
+ * Gets reasonType
+ * @return string
+ */
+ public function getReasonType()
+ {
+ return $this->container['reasonType'];
+ }
+
+ /**
+ * Sets reasonType
+ * @param string $reasonType reasonType
+ * @return $this
+ */
+ public function setReasonType($reasonType)
+ {
+ $this->container['reasonType'] = $reasonType;
+
+ return $this;
+ }
+
+ /**
+ * Gets reason
+ * @return string
+ */
+ public function getReason()
+ {
+ return $this->container['reason'];
+ }
+
+ /**
+ * Sets reason
+ * @param string $reason reason
+ * @return $this
+ */
+ public function setReason($reason)
+ {
+ $this->container['reason'] = $reason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierApplyApplySupplierRespDTOResult.php b/lib/Service/Account/Model/SupplierApplyApplySupplierRespDTOResult.php
new file mode 100644
index 0000000..48cd5c9
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierApplyApplySupplierRespDTOResult.php
@@ -0,0 +1,374 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'merchantNo' => 'string',
+ 'applicationStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'merchantNo' => null,
+ 'applicationStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'merchantNo' => 'merchantNo',
+ 'applicationStatus' => 'applicationStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 审批状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierApplyRequest.php b/lib/Service/Account/Model/SupplierApplyRequest.php
new file mode 100644
index 0000000..6a72f0a
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierApplyRequest.php
@@ -0,0 +1,41 @@
+body;
+ }
+
+ /**
+ * Sets body
+ * @param $body
+ * @return SupplierApplyRequest
+ */
+ public function setBody($body)
+ {
+ $this->body = $body;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'supplierApply';
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierApplyRequestMarshaller.php b/lib/Service/Account/Model/SupplierApplyRequestMarshaller.php
new file mode 100644
index 0000000..870d906
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierApplyRequestMarshaller.php
@@ -0,0 +1,79 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $content = \GuzzleHttp\json_encode($request->getBody());
+ $internalRequest->setContent(\GuzzleHttp\Psr7\stream_for($content));
+ $internalRequest->addHeader(Headers::CONTENT_LENGTH, strlen($content));
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SupplierApplyRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/SupplierApplyResponse.php b/lib/Service/Account/Model/SupplierApplyResponse.php
new file mode 100644
index 0000000..e1ea111
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierApplyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SupplierApplyApplySupplierRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierApplyResponseUnMarshaller.php b/lib/Service/Account/Model/SupplierApplyResponseUnMarshaller.php
new file mode 100644
index 0000000..75fd48c
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierApplyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'supplierType' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'supplierName' => null,
+ 'supplierType' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'supplierName' => 'supplierName',
+ 'supplierType' => 'supplierType',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'supplierName' => 'setSupplierName',
+ 'supplierType' => 'setSupplierType',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'supplierName' => 'getSupplierName',
+ 'supplierType' => 'getSupplierType',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['supplierName'] = isset($data['supplierName']) ? $data['supplierName'] : null;
+ $this->container['supplierType'] = isset($data['supplierType']) ? $data['supplierType'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets supplierName
+ * @return string
+ */
+ public function getSupplierName()
+ {
+ return $this->container['supplierName'];
+ }
+
+ /**
+ * Sets supplierName
+ * @param string $supplierName supplierName
+ * @return $this
+ */
+ public function setSupplierName($supplierName)
+ {
+ $this->container['supplierName'] = $supplierName;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierType
+ * @return string
+ */
+ public function getSupplierType()
+ {
+ return $this->container['supplierType'];
+ }
+
+ /**
+ * Sets supplierType
+ * @param string $supplierType supplierType
+ * @return $this
+ */
+ public function setSupplierType($supplierType)
+ {
+ $this->container['supplierType'] = $supplierType;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierApplySupplierQualInfoParam.php b/lib/Service/Account/Model/SupplierApplySupplierQualInfoParam.php
new file mode 100644
index 0000000..bf7ff81
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierApplySupplierQualInfoParam.php
@@ -0,0 +1,321 @@
+ 'string',
+ 'supplierQualLicenceUrl' => 'string',
+ 'supplierQualFileUrl' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'supplierQualLicenceNo' => null,
+ 'supplierQualLicenceUrl' => null,
+ 'supplierQualFileUrl' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'supplierQualLicenceNo' => 'supplierQualLicenceNo',
+ 'supplierQualLicenceUrl' => 'supplierQualLicenceUrl',
+ 'supplierQualFileUrl' => 'supplierQualFileUrl',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'supplierQualLicenceNo' => 'setSupplierQualLicenceNo',
+ 'supplierQualLicenceUrl' => 'setSupplierQualLicenceUrl',
+ 'supplierQualFileUrl' => 'setSupplierQualFileUrl',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'supplierQualLicenceNo' => 'getSupplierQualLicenceNo',
+ 'supplierQualLicenceUrl' => 'getSupplierQualLicenceUrl',
+ 'supplierQualFileUrl' => 'getSupplierQualFileUrl',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['supplierQualLicenceNo'] = isset($data['supplierQualLicenceNo']) ? $data['supplierQualLicenceNo'] : null;
+ $this->container['supplierQualLicenceUrl'] = isset($data['supplierQualLicenceUrl']) ? $data['supplierQualLicenceUrl'] : null;
+ $this->container['supplierQualFileUrl'] = isset($data['supplierQualFileUrl']) ? $data['supplierQualFileUrl'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets supplierQualLicenceNo
+ * @return string
+ */
+ public function getSupplierQualLicenceNo()
+ {
+ return $this->container['supplierQualLicenceNo'];
+ }
+
+ /**
+ * Sets supplierQualLicenceNo
+ * @param string $supplierQualLicenceNo supplierQualLicenceNo
+ * @return $this
+ */
+ public function setSupplierQualLicenceNo($supplierQualLicenceNo)
+ {
+ $this->container['supplierQualLicenceNo'] = $supplierQualLicenceNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierQualLicenceUrl
+ * @return string
+ */
+ public function getSupplierQualLicenceUrl()
+ {
+ return $this->container['supplierQualLicenceUrl'];
+ }
+
+ /**
+ * Sets supplierQualLicenceUrl
+ * @param string $supplierQualLicenceUrl supplierQualLicenceUrl
+ * @return $this
+ */
+ public function setSupplierQualLicenceUrl($supplierQualLicenceUrl)
+ {
+ $this->container['supplierQualLicenceUrl'] = $supplierQualLicenceUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierQualFileUrl
+ * @return string
+ */
+ public function getSupplierQualFileUrl()
+ {
+ return $this->container['supplierQualFileUrl'];
+ }
+
+ /**
+ * Sets supplierQualFileUrl
+ * @param string $supplierQualFileUrl supplierQualFileUrl
+ * @return $this
+ */
+ public function setSupplierQualFileUrl($supplierQualFileUrl)
+ {
+ $this->container['supplierQualFileUrl'] = $supplierQualFileUrl;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierPayOrderRemitRespDTOResult.php b/lib/Service/Account/Model/SupplierPayOrderRemitRespDTOResult.php
new file mode 100644
index 0000000..797a2d4
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierPayOrderRemitRespDTOResult.php
@@ -0,0 +1,374 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'orderNo' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'orderNo' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'orderNo' => 'orderNo',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'orderNo' => 'setOrderNo',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'orderNo' => 'getOrderNo',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝付款订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierPayOrderRequest.php b/lib/Service/Account/Model/SupplierPayOrderRequest.php
new file mode 100644
index 0000000..eba9340
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierPayOrderRequest.php
@@ -0,0 +1,353 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return SupplierPayOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return SupplierPayOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return SupplierPayOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return SupplierPayOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverAccountNo
+ * @return string
+ */
+ public function getReceiverAccountNo()
+ {
+ return $this->receiverAccountNo;
+ }
+
+ /**
+ * Sets receiverAccountNo
+ * @param string $receiverAccountNo
+ * @return SupplierPayOrderRequest
+ */
+ public function setReceiverAccountNo($receiverAccountNo)
+ {
+ $this->receiverAccountNo = $receiverAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierId
+ * @return int
+ */
+ public function getSupplierId()
+ {
+ return $this->supplierId;
+ }
+
+ /**
+ * Sets supplierId
+ * @param int $supplierId
+ * @return SupplierPayOrderRequest
+ */
+ public function setSupplierId($supplierId)
+ {
+ $this->supplierId = $supplierId;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiverBankCode
+ * @return string
+ */
+ public function getReceiverBankCode()
+ {
+ return $this->receiverBankCode;
+ }
+
+ /**
+ * Sets receiverBankCode
+ * @param string $receiverBankCode
+ * @return SupplierPayOrderRequest
+ */
+ public function setReceiverBankCode($receiverBankCode)
+ {
+ $this->receiverBankCode = $receiverBankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankAccountType
+ * @return string
+ */
+ public function getBankAccountType()
+ {
+ return $this->bankAccountType;
+ }
+
+ /**
+ * Sets bankAccountType
+ * @param string $bankAccountType
+ * @return SupplierPayOrderRequest
+ */
+ public function setBankAccountType($bankAccountType)
+ {
+ $this->bankAccountType = $bankAccountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets comments
+ * @return string
+ */
+ public function getComments()
+ {
+ return $this->comments;
+ }
+
+ /**
+ * Sets comments
+ * @param string $comments
+ * @return SupplierPayOrderRequest
+ */
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeChargeSide
+ * @return string
+ */
+ public function getFeeChargeSide()
+ {
+ return $this->feeChargeSide;
+ }
+
+ /**
+ * Sets feeChargeSide
+ * @param string $feeChargeSide
+ * @return SupplierPayOrderRequest
+ */
+ public function setFeeChargeSide($feeChargeSide)
+ {
+ $this->feeChargeSide = $feeChargeSide;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminalType
+ * @return string
+ */
+ public function getTerminalType()
+ {
+ return $this->terminalType;
+ }
+
+ /**
+ * Sets terminalType
+ * @param string $terminalType
+ * @return SupplierPayOrderRequest
+ */
+ public function setTerminalType($terminalType)
+ {
+ $this->terminalType = $terminalType;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->receiveType;
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType
+ * @return SupplierPayOrderRequest
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->receiveType = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return SupplierPayOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'supplierPayOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierPayOrderRequestMarshaller.php b/lib/Service/Account/Model/SupplierPayOrderRequestMarshaller.php
new file mode 100644
index 0000000..e76970d
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierPayOrderRequestMarshaller.php
@@ -0,0 +1,129 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getReceiverAccountNo() != null) {
+ $internalRequest->addParameter('receiverAccountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiverAccountNo(), 'string'));
+ }
+ if ($request->getSupplierId() != null) {
+ $internalRequest->addParameter('supplierId',
+ ObjectSerializer::sanitizeForSerialization($request->getSupplierId(), 'int', 'int64'));
+ }
+ if ($request->getReceiverBankCode() != null) {
+ $internalRequest->addParameter('receiverBankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiverBankCode(), 'string'));
+ }
+ if ($request->getBankAccountType() != null) {
+ $internalRequest->addParameter('bankAccountType',
+ ObjectSerializer::sanitizeForSerialization($request->getBankAccountType(), 'string'));
+ }
+ if ($request->getComments() != null) {
+ $internalRequest->addParameter('comments',
+ ObjectSerializer::sanitizeForSerialization($request->getComments(), 'string'));
+ }
+ if ($request->getFeeChargeSide() != null) {
+ $internalRequest->addParameter('feeChargeSide',
+ ObjectSerializer::sanitizeForSerialization($request->getFeeChargeSide(), 'string'));
+ }
+ if ($request->getTerminalType() != null) {
+ $internalRequest->addParameter('terminalType',
+ ObjectSerializer::sanitizeForSerialization($request->getTerminalType(), 'string'));
+ }
+ if ($request->getReceiveType() != null) {
+ $internalRequest->addParameter('receiveType',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiveType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SupplierPayOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/SupplierPayOrderResponse.php b/lib/Service/Account/Model/SupplierPayOrderResponse.php
new file mode 100644
index 0000000..a8f0f5c
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierPayOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SupplierPayOrderRemitRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierPayOrderResponseUnMarshaller.php b/lib/Service/Account/Model/SupplierPayOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..5b9032c
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierPayOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'supplierId' => 'int',
+ 'requestNo' => 'string',
+ 'merchantNo' => 'string',
+ 'applicationStatus' => 'string',
+ 'applyTime' => 'string',
+ 'finishTime' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'supplierId' => 'int64',
+ 'requestNo' => null,
+ 'merchantNo' => null,
+ 'applicationStatus' => null,
+ 'applyTime' => 'date-time',
+ 'finishTime' => 'date-time',
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'supplierId' => 'supplierId',
+ 'requestNo' => 'requestNo',
+ 'merchantNo' => 'merchantNo',
+ 'applicationStatus' => 'applicationStatus',
+ 'applyTime' => 'applyTime',
+ 'finishTime' => 'finishTime',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'supplierId' => 'setSupplierId',
+ 'requestNo' => 'setRequestNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ 'applyTime' => 'setApplyTime',
+ 'finishTime' => 'setFinishTime',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'supplierId' => 'getSupplierId',
+ 'requestNo' => 'getRequestNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ 'applyTime' => 'getApplyTime',
+ 'finishTime' => 'getFinishTime',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['supplierId'] = isset($data['supplierId']) ? $data['supplierId'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ $this->container['applyTime'] = isset($data['applyTime']) ? $data['applyTime'] : null;
+ $this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierId
+ * @return int
+ */
+ public function getSupplierId()
+ {
+ return $this->container['supplierId'];
+ }
+
+ /**
+ * Sets supplierId
+ * @param int $supplierId 供应商id
+ * @return $this
+ */
+ public function setSupplierId($supplierId)
+ {
+ $this->container['supplierId'] = $supplierId;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 审批状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets applyTime
+ * @return string
+ */
+ public function getApplyTime()
+ {
+ return $this->container['applyTime'];
+ }
+
+ /**
+ * Sets applyTime
+ * @param string $applyTime 申请时间
+ * @return $this
+ */
+ public function setApplyTime($applyTime)
+ {
+ $this->container['applyTime'] = $applyTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets finishTime
+ * @return string
+ */
+ public function getFinishTime()
+ {
+ return $this->container['finishTime'];
+ }
+
+ /**
+ * Sets finishTime
+ * @param string $finishTime 审批完成时间
+ * @return $this
+ */
+ public function setFinishTime($finishTime)
+ {
+ $this->container['finishTime'] = $finishTime;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierQueryProgressRequest.php b/lib/Service/Account/Model/SupplierQueryProgressRequest.php
new file mode 100644
index 0000000..351440c
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryProgressRequest.php
@@ -0,0 +1,41 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return SupplierQueryProgressRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'supplierQueryProgress';
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierQueryProgressRequestMarshaller.php b/lib/Service/Account/Model/SupplierQueryProgressRequestMarshaller.php
new file mode 100644
index 0000000..54f6e86
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryProgressRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SupplierQueryProgressRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/SupplierQueryProgressResponse.php b/lib/Service/Account/Model/SupplierQueryProgressResponse.php
new file mode 100644
index 0000000..ad5391f
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryProgressResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SupplierQueryProgressApplySupplierProgressRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierQueryProgressResponseUnMarshaller.php b/lib/Service/Account/Model/SupplierQueryProgressResponseUnMarshaller.php
new file mode 100644
index 0000000..4dd268e
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryProgressResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'supplierList' => '\Yeepay\Yop\Sdk\Service\Account\Model\SupplierQuerySupplierDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'supplierList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'supplierList' => 'supplierList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'supplierList' => 'setSupplierList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'supplierList' => 'getSupplierList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['supplierList'] = isset($data['supplierList']) ? $data['supplierList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierList
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\SupplierQuerySupplierDTOResult[]
+ */
+ public function getSupplierList()
+ {
+ return $this->container['supplierList'];
+ }
+
+ /**
+ * Sets supplierList
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\SupplierQuerySupplierDTOResult[] $supplierList 供应商列表
+ * @return $this
+ */
+ public function setSupplierList($supplierList)
+ {
+ $this->container['supplierList'] = $supplierList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/SupplierQueryRequest.php b/lib/Service/Account/Model/SupplierQueryRequest.php
new file mode 100644
index 0000000..bf72444
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryRequest.php
@@ -0,0 +1,41 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return SupplierQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'supplierQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierQueryRequestMarshaller.php b/lib/Service/Account/Model/SupplierQueryRequestMarshaller.php
new file mode 100644
index 0000000..eefa98b
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SupplierQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/SupplierQueryResponse.php b/lib/Service/Account/Model/SupplierQueryResponse.php
new file mode 100644
index 0000000..bbac89d
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SupplierQueryQuerySupplierRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/SupplierQueryResponseUnMarshaller.php b/lib/Service/Account/Model/SupplierQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..1ad95d3
--- /dev/null
+++ b/lib/Service/Account/Model/SupplierQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'supplierId' => 'int',
+ 'supplierType' => 'string',
+ 'supplierName' => 'string',
+ 'supplierQualLicenceNo' => 'string',
+ 'createTime' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'merchantNo' => null,
+ 'supplierId' => 'int64',
+ 'supplierType' => null,
+ 'supplierName' => null,
+ 'supplierQualLicenceNo' => null,
+ 'createTime' => 'date-time',
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'merchantNo' => 'merchantNo',
+ 'supplierId' => 'supplierId',
+ 'supplierType' => 'supplierType',
+ 'supplierName' => 'supplierName',
+ 'supplierQualLicenceNo' => 'supplierQualLicenceNo',
+ 'createTime' => 'createTime',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'merchantNo' => 'setMerchantNo',
+ 'supplierId' => 'setSupplierId',
+ 'supplierType' => 'setSupplierType',
+ 'supplierName' => 'setSupplierName',
+ 'supplierQualLicenceNo' => 'setSupplierQualLicenceNo',
+ 'createTime' => 'setCreateTime',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'merchantNo' => 'getMerchantNo',
+ 'supplierId' => 'getSupplierId',
+ 'supplierType' => 'getSupplierType',
+ 'supplierName' => 'getSupplierName',
+ 'supplierQualLicenceNo' => 'getSupplierQualLicenceNo',
+ 'createTime' => 'getCreateTime',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['supplierId'] = isset($data['supplierId']) ? $data['supplierId'] : null;
+ $this->container['supplierType'] = isset($data['supplierType']) ? $data['supplierType'] : null;
+ $this->container['supplierName'] = isset($data['supplierName']) ? $data['supplierName'] : null;
+ $this->container['supplierQualLicenceNo'] = isset($data['supplierQualLicenceNo']) ? $data['supplierQualLicenceNo'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierId
+ * @return int
+ */
+ public function getSupplierId()
+ {
+ return $this->container['supplierId'];
+ }
+
+ /**
+ * Sets supplierId
+ * @param int $supplierId 供应商id
+ * @return $this
+ */
+ public function setSupplierId($supplierId)
+ {
+ $this->container['supplierId'] = $supplierId;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierType
+ * @return string
+ */
+ public function getSupplierType()
+ {
+ return $this->container['supplierType'];
+ }
+
+ /**
+ * Sets supplierType
+ * @param string $supplierType 供应商类型
+ * @return $this
+ */
+ public function setSupplierType($supplierType)
+ {
+ $this->container['supplierType'] = $supplierType;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierName
+ * @return string
+ */
+ public function getSupplierName()
+ {
+ return $this->container['supplierName'];
+ }
+
+ /**
+ * Sets supplierName
+ * @param string $supplierName 供应商名称
+ * @return $this
+ */
+ public function setSupplierName($supplierName)
+ {
+ $this->container['supplierName'] = $supplierName;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplierQualLicenceNo
+ * @return string
+ */
+ public function getSupplierQualLicenceNo()
+ {
+ return $this->container['supplierQualLicenceNo'];
+ }
+
+ /**
+ * Sets supplierQualLicenceNo
+ * @param string $supplierQualLicenceNo 供应商资质编码
+ * @return $this
+ */
+ public function setSupplierQualLicenceNo($supplierQualLicenceNo)
+ {
+ $this->container['supplierQualLicenceNo'] = $supplierQualLicenceNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 供应商创建时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/TransferB2bOrderMgTransferOrderRespDTOResult.php b/lib/Service/Account/Model/TransferB2bOrderMgTransferOrderRespDTOResult.php
new file mode 100644
index 0000000..a64fd16
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bOrderMgTransferOrderRespDTOResult.php
@@ -0,0 +1,644 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'transferStatus' => 'string',
+ 'orderNo' => 'string',
+ 'requestNo' => 'string',
+ 'orderAmount' => 'string',
+ 'fromMerchantNo' => 'string',
+ 'toMerchantNo' => 'string',
+ 'usage' => 'string',
+ 'fee' => 'string',
+ 'createTime' => 'string',
+ 'finishTime' => 'string',
+ 'debitAmount' => 'string',
+ 'receiveAmount' => 'string',
+ 'feeMerchantNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'transferStatus' => null,
+ 'orderNo' => null,
+ 'requestNo' => null,
+ 'orderAmount' => null,
+ 'fromMerchantNo' => null,
+ 'toMerchantNo' => null,
+ 'usage' => null,
+ 'fee' => null,
+ 'createTime' => null,
+ 'finishTime' => null,
+ 'debitAmount' => null,
+ 'receiveAmount' => null,
+ 'feeMerchantNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'transferStatus' => 'transferStatus',
+ 'orderNo' => 'orderNo',
+ 'requestNo' => 'requestNo',
+ 'orderAmount' => 'orderAmount',
+ 'fromMerchantNo' => 'fromMerchantNo',
+ 'toMerchantNo' => 'toMerchantNo',
+ 'usage' => 'usage',
+ 'fee' => 'fee',
+ 'createTime' => 'createTime',
+ 'finishTime' => 'finishTime',
+ 'debitAmount' => 'debitAmount',
+ 'receiveAmount' => 'receiveAmount',
+ 'feeMerchantNo' => 'feeMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'transferStatus' => 'setTransferStatus',
+ 'orderNo' => 'setOrderNo',
+ 'requestNo' => 'setRequestNo',
+ 'orderAmount' => 'setOrderAmount',
+ 'fromMerchantNo' => 'setFromMerchantNo',
+ 'toMerchantNo' => 'setToMerchantNo',
+ 'usage' => 'setUsage',
+ 'fee' => 'setFee',
+ 'createTime' => 'setCreateTime',
+ 'finishTime' => 'setFinishTime',
+ 'debitAmount' => 'setDebitAmount',
+ 'receiveAmount' => 'setReceiveAmount',
+ 'feeMerchantNo' => 'setFeeMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'transferStatus' => 'getTransferStatus',
+ 'orderNo' => 'getOrderNo',
+ 'requestNo' => 'getRequestNo',
+ 'orderAmount' => 'getOrderAmount',
+ 'fromMerchantNo' => 'getFromMerchantNo',
+ 'toMerchantNo' => 'getToMerchantNo',
+ 'usage' => 'getUsage',
+ 'fee' => 'getFee',
+ 'createTime' => 'getCreateTime',
+ 'finishTime' => 'getFinishTime',
+ 'debitAmount' => 'getDebitAmount',
+ 'receiveAmount' => 'getReceiveAmount',
+ 'feeMerchantNo' => 'getFeeMerchantNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['transferStatus'] = isset($data['transferStatus']) ? $data['transferStatus'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['fromMerchantNo'] = isset($data['fromMerchantNo']) ? $data['fromMerchantNo'] : null;
+ $this->container['toMerchantNo'] = isset($data['toMerchantNo']) ? $data['toMerchantNo'] : null;
+ $this->container['usage'] = isset($data['usage']) ? $data['usage'] : null;
+ $this->container['fee'] = isset($data['fee']) ? $data['fee'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ $this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
+ $this->container['debitAmount'] = isset($data['debitAmount']) ? $data['debitAmount'] : null;
+ $this->container['receiveAmount'] = isset($data['receiveAmount']) ? $data['receiveAmount'] : null;
+ $this->container['feeMerchantNo'] = isset($data['feeMerchantNo']) ? $data['feeMerchantNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets transferStatus
+ * @return string
+ */
+ public function getTransferStatus()
+ {
+ return $this->container['transferStatus'];
+ }
+
+ /**
+ * Sets transferStatus
+ * @param string $transferStatus 转账状态
+ * @return $this
+ */
+ public function setTransferStatus($transferStatus)
+ {
+ $this->container['transferStatus'] = $transferStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return string
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param string $orderAmount 转账金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets fromMerchantNo
+ * @return string
+ */
+ public function getFromMerchantNo()
+ {
+ return $this->container['fromMerchantNo'];
+ }
+
+ /**
+ * Sets fromMerchantNo
+ * @param string $fromMerchantNo 转出方商户编号
+ * @return $this
+ */
+ public function setFromMerchantNo($fromMerchantNo)
+ {
+ $this->container['fromMerchantNo'] = $fromMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets toMerchantNo
+ * @return string
+ */
+ public function getToMerchantNo()
+ {
+ return $this->container['toMerchantNo'];
+ }
+
+ /**
+ * Sets toMerchantNo
+ * @param string $toMerchantNo 转入方商户编号
+ * @return $this
+ */
+ public function setToMerchantNo($toMerchantNo)
+ {
+ $this->container['toMerchantNo'] = $toMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets usage
+ * @return string
+ */
+ public function getUsage()
+ {
+ return $this->container['usage'];
+ }
+
+ /**
+ * Sets usage
+ * @param string $usage 用途
+ * @return $this
+ */
+ public function setUsage($usage)
+ {
+ $this->container['usage'] = $usage;
+
+ return $this;
+ }
+
+ /**
+ * Gets fee
+ * @return string
+ */
+ public function getFee()
+ {
+ return $this->container['fee'];
+ }
+
+ /**
+ * Sets fee
+ * @param string $fee 手续费
+ * @return $this
+ */
+ public function setFee($fee)
+ {
+ $this->container['fee'] = $fee;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 转账下单时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets finishTime
+ * @return string
+ */
+ public function getFinishTime()
+ {
+ return $this->container['finishTime'];
+ }
+
+ /**
+ * Sets finishTime
+ * @param string $finishTime 转账完成时间
+ * @return $this
+ */
+ public function setFinishTime($finishTime)
+ {
+ $this->container['finishTime'] = $finishTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets debitAmount
+ * @return string
+ */
+ public function getDebitAmount()
+ {
+ return $this->container['debitAmount'];
+ }
+
+ /**
+ * Sets debitAmount
+ * @param string $debitAmount 扣账金额
+ * @return $this
+ */
+ public function setDebitAmount($debitAmount)
+ {
+ $this->container['debitAmount'] = $debitAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveAmount
+ * @return string
+ */
+ public function getReceiveAmount()
+ {
+ return $this->container['receiveAmount'];
+ }
+
+ /**
+ * Sets receiveAmount
+ * @param string $receiveAmount 入账金额
+ * @return $this
+ */
+ public function setReceiveAmount($receiveAmount)
+ {
+ $this->container['receiveAmount'] = $receiveAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeMerchantNo
+ * @return string
+ */
+ public function getFeeMerchantNo()
+ {
+ return $this->container['feeMerchantNo'];
+ }
+
+ /**
+ * Sets feeMerchantNo
+ * @param string $feeMerchantNo 手续费承担方商户编号
+ * @return $this
+ */
+ public function setFeeMerchantNo($feeMerchantNo)
+ {
+ $this->container['feeMerchantNo'] = $feeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/TransferB2bOrderRequest.php b/lib/Service/Account/Model/TransferB2bOrderRequest.php
new file mode 100644
index 0000000..95e5174
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bOrderRequest.php
@@ -0,0 +1,223 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TransferB2bOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return TransferB2bOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets fromMerchantNo
+ * @return string
+ */
+ public function getFromMerchantNo()
+ {
+ return $this->fromMerchantNo;
+ }
+
+ /**
+ * Sets fromMerchantNo
+ * @param string $fromMerchantNo
+ * @return TransferB2bOrderRequest
+ */
+ public function setFromMerchantNo($fromMerchantNo)
+ {
+ $this->fromMerchantNo = $fromMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets toMerchantNo
+ * @return string
+ */
+ public function getToMerchantNo()
+ {
+ return $this->toMerchantNo;
+ }
+
+ /**
+ * Sets toMerchantNo
+ * @param string $toMerchantNo
+ * @return TransferB2bOrderRequest
+ */
+ public function setToMerchantNo($toMerchantNo)
+ {
+ $this->toMerchantNo = $toMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return string
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param string $orderAmount
+ * @return TransferB2bOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets usage
+ * @return string
+ */
+ public function getUsage()
+ {
+ return $this->usage;
+ }
+
+ /**
+ * Sets usage
+ * @param string $usage
+ * @return TransferB2bOrderRequest
+ */
+ public function setUsage($usage)
+ {
+ $this->usage = $usage;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeChargeSide
+ * @return string
+ */
+ public function getFeeChargeSide()
+ {
+ return $this->feeChargeSide;
+ }
+
+ /**
+ * Sets feeChargeSide
+ * @param string $feeChargeSide
+ * @return TransferB2bOrderRequest
+ */
+ public function setFeeChargeSide($feeChargeSide)
+ {
+ $this->feeChargeSide = $feeChargeSide;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return TransferB2bOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'transferB2bOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/TransferB2bOrderRequestMarshaller.php b/lib/Service/Account/Model/TransferB2bOrderRequestMarshaller.php
new file mode 100644
index 0000000..62067ed
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bOrderRequestMarshaller.php
@@ -0,0 +1,109 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getFromMerchantNo() != null) {
+ $internalRequest->addParameter('fromMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getFromMerchantNo(), 'string'));
+ }
+ if ($request->getToMerchantNo() != null) {
+ $internalRequest->addParameter('toMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getToMerchantNo(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'string'));
+ }
+ if ($request->getUsage() != null) {
+ $internalRequest->addParameter('usage',
+ ObjectSerializer::sanitizeForSerialization($request->getUsage(), 'string'));
+ }
+ if ($request->getFeeChargeSide() != null) {
+ $internalRequest->addParameter('feeChargeSide',
+ ObjectSerializer::sanitizeForSerialization($request->getFeeChargeSide(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TransferB2bOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/TransferB2bOrderResponse.php b/lib/Service/Account/Model/TransferB2bOrderResponse.php
new file mode 100644
index 0000000..4d3be27
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TransferB2bOrderMgTransferOrderRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/TransferB2bOrderResponseUnMarshaller.php b/lib/Service/Account/Model/TransferB2bOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..fabc14a
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'orderNo' => 'string',
+ 'orderAmount' => 'string',
+ 'transferType' => 'string',
+ 'fromMerchantNo' => 'string',
+ 'toMerchantNo' => 'string',
+ 'transferStatus' => 'string',
+ 'usage' => 'string',
+ 'fee' => 'string',
+ 'createTime' => 'string',
+ 'finishTime' => 'string',
+ 'debitAmount' => 'string',
+ 'receiveAmount' => 'string',
+ 'feeMerchantNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'orderNo' => null,
+ 'orderAmount' => null,
+ 'transferType' => null,
+ 'fromMerchantNo' => null,
+ 'toMerchantNo' => null,
+ 'transferStatus' => null,
+ 'usage' => null,
+ 'fee' => null,
+ 'createTime' => null,
+ 'finishTime' => null,
+ 'debitAmount' => null,
+ 'receiveAmount' => null,
+ 'feeMerchantNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'orderNo' => 'orderNo',
+ 'orderAmount' => 'orderAmount',
+ 'transferType' => 'transferType',
+ 'fromMerchantNo' => 'fromMerchantNo',
+ 'toMerchantNo' => 'toMerchantNo',
+ 'transferStatus' => 'transferStatus',
+ 'usage' => 'usage',
+ 'fee' => 'fee',
+ 'createTime' => 'createTime',
+ 'finishTime' => 'finishTime',
+ 'debitAmount' => 'debitAmount',
+ 'receiveAmount' => 'receiveAmount',
+ 'feeMerchantNo' => 'feeMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'orderNo' => 'setOrderNo',
+ 'orderAmount' => 'setOrderAmount',
+ 'transferType' => 'setTransferType',
+ 'fromMerchantNo' => 'setFromMerchantNo',
+ 'toMerchantNo' => 'setToMerchantNo',
+ 'transferStatus' => 'setTransferStatus',
+ 'usage' => 'setUsage',
+ 'fee' => 'setFee',
+ 'createTime' => 'setCreateTime',
+ 'finishTime' => 'setFinishTime',
+ 'debitAmount' => 'setDebitAmount',
+ 'receiveAmount' => 'setReceiveAmount',
+ 'feeMerchantNo' => 'setFeeMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'orderNo' => 'getOrderNo',
+ 'orderAmount' => 'getOrderAmount',
+ 'transferType' => 'getTransferType',
+ 'fromMerchantNo' => 'getFromMerchantNo',
+ 'toMerchantNo' => 'getToMerchantNo',
+ 'transferStatus' => 'getTransferStatus',
+ 'usage' => 'getUsage',
+ 'fee' => 'getFee',
+ 'createTime' => 'getCreateTime',
+ 'finishTime' => 'getFinishTime',
+ 'debitAmount' => 'getDebitAmount',
+ 'receiveAmount' => 'getReceiveAmount',
+ 'feeMerchantNo' => 'getFeeMerchantNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['transferType'] = isset($data['transferType']) ? $data['transferType'] : null;
+ $this->container['fromMerchantNo'] = isset($data['fromMerchantNo']) ? $data['fromMerchantNo'] : null;
+ $this->container['toMerchantNo'] = isset($data['toMerchantNo']) ? $data['toMerchantNo'] : null;
+ $this->container['transferStatus'] = isset($data['transferStatus']) ? $data['transferStatus'] : null;
+ $this->container['usage'] = isset($data['usage']) ? $data['usage'] : null;
+ $this->container['fee'] = isset($data['fee']) ? $data['fee'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ $this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
+ $this->container['debitAmount'] = isset($data['debitAmount']) ? $data['debitAmount'] : null;
+ $this->container['receiveAmount'] = isset($data['receiveAmount']) ? $data['receiveAmount'] : null;
+ $this->container['feeMerchantNo'] = isset($data['feeMerchantNo']) ? $data['feeMerchantNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return string
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param string $orderAmount 转账金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets transferType
+ * @return string
+ */
+ public function getTransferType()
+ {
+ return $this->container['transferType'];
+ }
+
+ /**
+ * Sets transferType
+ * @param string $transferType 转账类型
+ * @return $this
+ */
+ public function setTransferType($transferType)
+ {
+ $this->container['transferType'] = $transferType;
+
+ return $this;
+ }
+
+ /**
+ * Gets fromMerchantNo
+ * @return string
+ */
+ public function getFromMerchantNo()
+ {
+ return $this->container['fromMerchantNo'];
+ }
+
+ /**
+ * Sets fromMerchantNo
+ * @param string $fromMerchantNo 转出方商户编号
+ * @return $this
+ */
+ public function setFromMerchantNo($fromMerchantNo)
+ {
+ $this->container['fromMerchantNo'] = $fromMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets toMerchantNo
+ * @return string
+ */
+ public function getToMerchantNo()
+ {
+ return $this->container['toMerchantNo'];
+ }
+
+ /**
+ * Sets toMerchantNo
+ * @param string $toMerchantNo 转入方商户编号
+ * @return $this
+ */
+ public function setToMerchantNo($toMerchantNo)
+ {
+ $this->container['toMerchantNo'] = $toMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets transferStatus
+ * @return string
+ */
+ public function getTransferStatus()
+ {
+ return $this->container['transferStatus'];
+ }
+
+ /**
+ * Sets transferStatus
+ * @param string $transferStatus 转账状态
+ * @return $this
+ */
+ public function setTransferStatus($transferStatus)
+ {
+ $this->container['transferStatus'] = $transferStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets usage
+ * @return string
+ */
+ public function getUsage()
+ {
+ return $this->container['usage'];
+ }
+
+ /**
+ * Sets usage
+ * @param string $usage 用途
+ * @return $this
+ */
+ public function setUsage($usage)
+ {
+ $this->container['usage'] = $usage;
+
+ return $this;
+ }
+
+ /**
+ * Gets fee
+ * @return string
+ */
+ public function getFee()
+ {
+ return $this->container['fee'];
+ }
+
+ /**
+ * Sets fee
+ * @param string $fee 手续费
+ * @return $this
+ */
+ public function setFee($fee)
+ {
+ $this->container['fee'] = $fee;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 转账下单时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets finishTime
+ * @return string
+ */
+ public function getFinishTime()
+ {
+ return $this->container['finishTime'];
+ }
+
+ /**
+ * Sets finishTime
+ * @param string $finishTime 转账完成时间
+ * @return $this
+ */
+ public function setFinishTime($finishTime)
+ {
+ $this->container['finishTime'] = $finishTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets debitAmount
+ * @return string
+ */
+ public function getDebitAmount()
+ {
+ return $this->container['debitAmount'];
+ }
+
+ /**
+ * Sets debitAmount
+ * @param string $debitAmount 扣账金额
+ * @return $this
+ */
+ public function setDebitAmount($debitAmount)
+ {
+ $this->container['debitAmount'] = $debitAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveAmount
+ * @return string
+ */
+ public function getReceiveAmount()
+ {
+ return $this->container['receiveAmount'];
+ }
+
+ /**
+ * Sets receiveAmount
+ * @param string $receiveAmount 入账金额
+ * @return $this
+ */
+ public function setReceiveAmount($receiveAmount)
+ {
+ $this->container['receiveAmount'] = $receiveAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeMerchantNo
+ * @return string
+ */
+ public function getFeeMerchantNo()
+ {
+ return $this->container['feeMerchantNo'];
+ }
+
+ /**
+ * Sets feeMerchantNo
+ * @param string $feeMerchantNo 手续费承担方商户编号
+ * @return $this
+ */
+ public function setFeeMerchantNo($feeMerchantNo)
+ {
+ $this->container['feeMerchantNo'] = $feeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/TransferB2bQueryRequest.php b/lib/Service/Account/Model/TransferB2bQueryRequest.php
new file mode 100644
index 0000000..73b2274
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TransferB2bQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return TransferB2bQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->orderNo;
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo
+ * @return TransferB2bQueryRequest
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->orderNo = $orderNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'transferB2bQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/TransferB2bQueryRequestMarshaller.php b/lib/Service/Account/Model/TransferB2bQueryRequestMarshaller.php
new file mode 100644
index 0000000..27404dc
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bQueryRequestMarshaller.php
@@ -0,0 +1,89 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getOrderNo() != null) {
+ $internalRequest->addParameter('orderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TransferB2bQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/TransferB2bQueryResponse.php b/lib/Service/Account/Model/TransferB2bQueryResponse.php
new file mode 100644
index 0000000..f26be5b
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TransferB2bQueryMgTransferOrderQueryRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/TransferB2bQueryResponseUnMarshaller.php b/lib/Service/Account/Model/TransferB2bQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..8081d82
--- /dev/null
+++ b/lib/Service/Account/Model/TransferB2bQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'bindId' => 'int',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'bindId' => 'int64',
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'bindId' => 'bindId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'bindId' => 'setBindId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'bindId' => 'getBindId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return int
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param int $bindId 绑卡id
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/WithdrawCardBindRequest.php b/lib/Service/Account/Model/WithdrawCardBindRequest.php
new file mode 100644
index 0000000..20d2e1b
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardBindRequest.php
@@ -0,0 +1,145 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WithdrawCardBindRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardType
+ * @return string
+ */
+ public function getBankCardType()
+ {
+ return $this->bankCardType;
+ }
+
+ /**
+ * Sets bankCardType
+ * @param string $bankCardType
+ * @return WithdrawCardBindRequest
+ */
+ public function setBankCardType($bankCardType)
+ {
+ $this->bankCardType = $bankCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountNo
+ * @return string
+ */
+ public function getAccountNo()
+ {
+ return $this->accountNo;
+ }
+
+ /**
+ * Sets accountNo
+ * @param string $accountNo
+ * @return WithdrawCardBindRequest
+ */
+ public function setAccountNo($accountNo)
+ {
+ $this->accountNo = $accountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return WithdrawCardBindRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets branchCode
+ * @return string
+ */
+ public function getBranchCode()
+ {
+ return $this->branchCode;
+ }
+
+ /**
+ * Sets branchCode
+ * @param string $branchCode
+ * @return WithdrawCardBindRequest
+ */
+ public function setBranchCode($branchCode)
+ {
+ $this->branchCode = $branchCode;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'withdrawCardBind';
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawCardBindRequestMarshaller.php b/lib/Service/Account/Model/WithdrawCardBindRequestMarshaller.php
new file mode 100644
index 0000000..5ed51b9
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardBindRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBankCardType() != null) {
+ $internalRequest->addParameter('bankCardType',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardType(), 'string'));
+ }
+ if ($request->getAccountNo() != null) {
+ $internalRequest->addParameter('accountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountNo(), 'string'));
+ }
+ if ($request->getBankCode() != null) {
+ $internalRequest->addParameter('bankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCode(), 'string'));
+ }
+ if ($request->getBranchCode() != null) {
+ $internalRequest->addParameter('branchCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBranchCode(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WithdrawCardBindRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/WithdrawCardBindResponse.php b/lib/Service/Account/Model/WithdrawCardBindResponse.php
new file mode 100644
index 0000000..306c744
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardBindResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WithdrawCardBindBindCardRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawCardBindResponseUnMarshaller.php b/lib/Service/Account/Model/WithdrawCardBindResponseUnMarshaller.php
new file mode 100644
index 0000000..0589ac7
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardBindResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/WithdrawCardModifyRequest.php b/lib/Service/Account/Model/WithdrawCardModifyRequest.php
new file mode 100644
index 0000000..d730024
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardModifyRequest.php
@@ -0,0 +1,171 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WithdrawCardModifyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountNo
+ * @return string
+ */
+ public function getAccountNo()
+ {
+ return $this->accountNo;
+ }
+
+ /**
+ * Sets accountNo
+ * @param string $accountNo
+ * @return WithdrawCardModifyRequest
+ */
+ public function setAccountNo($accountNo)
+ {
+ $this->accountNo = $accountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return int
+ */
+ public function getBindId()
+ {
+ return $this->bindId;
+ }
+
+ /**
+ * Sets bindId
+ * @param int $bindId
+ * @return WithdrawCardModifyRequest
+ */
+ public function setBindId($bindId)
+ {
+ $this->bindId = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardOperateType
+ * @return string
+ */
+ public function getBankCardOperateType()
+ {
+ return $this->bankCardOperateType;
+ }
+
+ /**
+ * Sets bankCardOperateType
+ * @param string $bankCardOperateType
+ * @return WithdrawCardModifyRequest
+ */
+ public function setBankCardOperateType($bankCardOperateType)
+ {
+ $this->bankCardOperateType = $bankCardOperateType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return WithdrawCardModifyRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets branchCode
+ * @return string
+ */
+ public function getBranchCode()
+ {
+ return $this->branchCode;
+ }
+
+ /**
+ * Sets branchCode
+ * @param string $branchCode
+ * @return WithdrawCardModifyRequest
+ */
+ public function setBranchCode($branchCode)
+ {
+ $this->branchCode = $branchCode;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'withdrawCardModify';
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawCardModifyRequestMarshaller.php b/lib/Service/Account/Model/WithdrawCardModifyRequestMarshaller.php
new file mode 100644
index 0000000..32fedd3
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardModifyRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getAccountNo() != null) {
+ $internalRequest->addParameter('accountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountNo(), 'string'));
+ }
+ if ($request->getBindId() != null) {
+ $internalRequest->addParameter('bindId',
+ ObjectSerializer::sanitizeForSerialization($request->getBindId(), 'int', 'int64'));
+ }
+ if ($request->getBankCardOperateType() != null) {
+ $internalRequest->addParameter('bankCardOperateType',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardOperateType(), 'string'));
+ }
+ if ($request->getBankCode() != null) {
+ $internalRequest->addParameter('bankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCode(), 'string'));
+ }
+ if ($request->getBranchCode() != null) {
+ $internalRequest->addParameter('branchCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBranchCode(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WithdrawCardModifyRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/WithdrawCardModifyResponse.php b/lib/Service/Account/Model/WithdrawCardModifyResponse.php
new file mode 100644
index 0000000..fb22a60
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardModifyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WithdrawCardModifyModifyBindCardRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawCardModifyResponseUnMarshaller.php b/lib/Service/Account/Model/WithdrawCardModifyResponseUnMarshaller.php
new file mode 100644
index 0000000..97babef
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardModifyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'accountName' => 'string',
+ 'bankCode' => 'string',
+ 'accountNo' => 'string',
+ 'bindCardId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'bankCardType' => null,
+ 'accountName' => null,
+ 'bankCode' => null,
+ 'accountNo' => null,
+ 'bindCardId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'bankCardType' => 'bankCardType',
+ 'accountName' => 'accountName',
+ 'bankCode' => 'bankCode',
+ 'accountNo' => 'accountNo',
+ 'bindCardId' => 'bindCardId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'bankCardType' => 'setBankCardType',
+ 'accountName' => 'setAccountName',
+ 'bankCode' => 'setBankCode',
+ 'accountNo' => 'setAccountNo',
+ 'bindCardId' => 'setBindCardId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'bankCardType' => 'getBankCardType',
+ 'accountName' => 'getAccountName',
+ 'bankCode' => 'getBankCode',
+ 'accountNo' => 'getAccountNo',
+ 'bindCardId' => 'getBindCardId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['bankCardType'] = isset($data['bankCardType']) ? $data['bankCardType'] : null;
+ $this->container['accountName'] = isset($data['accountName']) ? $data['accountName'] : null;
+ $this->container['bankCode'] = isset($data['bankCode']) ? $data['bankCode'] : null;
+ $this->container['accountNo'] = isset($data['accountNo']) ? $data['accountNo'] : null;
+ $this->container['bindCardId'] = isset($data['bindCardId']) ? $data['bindCardId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets bankCardType
+ * @return string
+ */
+ public function getBankCardType()
+ {
+ return $this->container['bankCardType'];
+ }
+
+ /**
+ * Sets bankCardType
+ * @param string $bankCardType 银行卡类型
+ * @return $this
+ */
+ public function setBankCardType($bankCardType)
+ {
+ $this->container['bankCardType'] = $bankCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountName
+ * @return string
+ */
+ public function getAccountName()
+ {
+ return $this->container['accountName'];
+ }
+
+ /**
+ * Sets accountName
+ * @param string $accountName 开户名
+ * @return $this
+ */
+ public function setAccountName($accountName)
+ {
+ $this->container['accountName'] = $accountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->container['bankCode'];
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode 开户行编码
+ * @return $this
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->container['bankCode'] = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountNo
+ * @return string
+ */
+ public function getAccountNo()
+ {
+ return $this->container['accountNo'];
+ }
+
+ /**
+ * Sets accountNo
+ * @param string $accountNo 银行账号
+ * @return $this
+ */
+ public function setAccountNo($accountNo)
+ {
+ $this->container['accountNo'] = $accountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindCardId
+ * @return string
+ */
+ public function getBindCardId()
+ {
+ return $this->container['bindCardId'];
+ }
+
+ /**
+ * Sets bindCardId
+ * @param string $bindCardId 银行卡标识
+ * @return $this
+ */
+ public function setBindCardId($bindCardId)
+ {
+ $this->container['bindCardId'] = $bindCardId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/WithdrawCardQueryBindCardQueryRespDTOResult.php b/lib/Service/Account/Model/WithdrawCardQueryBindCardQueryRespDTOResult.php
new file mode 100644
index 0000000..a6423d8
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardQueryBindCardQueryRespDTOResult.php
@@ -0,0 +1,347 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'merchantNo' => 'string',
+ 'bankCardAccountList' => '\Yeepay\Yop\Sdk\Service\Account\Model\WithdrawCardQueryBankCardAccountResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'merchantNo' => null,
+ 'bankCardAccountList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'merchantNo' => 'merchantNo',
+ 'bankCardAccountList' => 'bankCardAccountList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'merchantNo' => 'setMerchantNo',
+ 'bankCardAccountList' => 'setBankCardAccountList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'merchantNo' => 'getMerchantNo',
+ 'bankCardAccountList' => 'getBankCardAccountList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['bankCardAccountList'] = isset($data['bankCardAccountList']) ? $data['bankCardAccountList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardAccountList
+ * @return \Yeepay\Yop\Sdk\Service\Account\Model\WithdrawCardQueryBankCardAccountResult[]
+ */
+ public function getBankCardAccountList()
+ {
+ return $this->container['bankCardAccountList'];
+ }
+
+ /**
+ * Sets bankCardAccountList
+ * @param \Yeepay\Yop\Sdk\Service\Account\Model\WithdrawCardQueryBankCardAccountResult[] $bankCardAccountList 提现卡列表
+ * @return $this
+ */
+ public function setBankCardAccountList($bankCardAccountList)
+ {
+ $this->container['bankCardAccountList'] = $bankCardAccountList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/WithdrawCardQueryRequest.php b/lib/Service/Account/Model/WithdrawCardQueryRequest.php
new file mode 100644
index 0000000..c34230a
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardQueryRequest.php
@@ -0,0 +1,41 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WithdrawCardQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'withdrawCardQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawCardQueryRequestMarshaller.php b/lib/Service/Account/Model/WithdrawCardQueryRequestMarshaller.php
new file mode 100644
index 0000000..f2692bc
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardQueryRequestMarshaller.php
@@ -0,0 +1,81 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WithdrawCardQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/WithdrawCardQueryResponse.php b/lib/Service/Account/Model/WithdrawCardQueryResponse.php
new file mode 100644
index 0000000..bf59214
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WithdrawCardQueryBindCardQueryRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawCardQueryResponseUnMarshaller.php b/lib/Service/Account/Model/WithdrawCardQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..9f67888
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawCardQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return WithdrawOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return WithdrawOrderRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WithdrawOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardId
+ * @return string
+ */
+ public function getBankCardId()
+ {
+ return $this->bankCardId;
+ }
+
+ /**
+ * Sets bankCardId
+ * @param string $bankCardId
+ * @return WithdrawOrderRequest
+ */
+ public function setBankCardId($bankCardId)
+ {
+ $this->bankCardId = $bankCardId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankAccountNo
+ * @return string
+ */
+ public function getBankAccountNo()
+ {
+ return $this->bankAccountNo;
+ }
+
+ /**
+ * Sets bankAccountNo
+ * @param string $bankAccountNo
+ * @return WithdrawOrderRequest
+ */
+ public function setBankAccountNo($bankAccountNo)
+ {
+ $this->bankAccountNo = $bankAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->receiveType;
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType
+ * @return WithdrawOrderRequest
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->receiveType = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return WithdrawOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return WithdrawOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->remark;
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark
+ * @return WithdrawOrderRequest
+ */
+ public function setRemark($remark)
+ {
+ $this->remark = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminalType
+ * @return string
+ */
+ public function getTerminalType()
+ {
+ return $this->terminalType;
+ }
+
+ /**
+ * Sets terminalType
+ * @param string $terminalType
+ * @return WithdrawOrderRequest
+ */
+ public function setTerminalType($terminalType)
+ {
+ $this->terminalType = $terminalType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'withdrawOrder';
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawOrderRequestMarshaller.php b/lib/Service/Account/Model/WithdrawOrderRequestMarshaller.php
new file mode 100644
index 0000000..f77a744
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawOrderRequestMarshaller.php
@@ -0,0 +1,117 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBankCardId() != null) {
+ $internalRequest->addParameter('bankCardId',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardId(), 'string'));
+ }
+ if ($request->getBankAccountNo() != null) {
+ $internalRequest->addParameter('bankAccountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankAccountNo(), 'string'));
+ }
+ if ($request->getReceiveType() != null) {
+ $internalRequest->addParameter('receiveType',
+ ObjectSerializer::sanitizeForSerialization($request->getReceiveType(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getRemark() != null) {
+ $internalRequest->addParameter('remark',
+ ObjectSerializer::sanitizeForSerialization($request->getRemark(), 'string'));
+ }
+ if ($request->getTerminalType() != null) {
+ $internalRequest->addParameter('terminalType',
+ ObjectSerializer::sanitizeForSerialization($request->getTerminalType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WithdrawOrderRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/WithdrawOrderResponse.php b/lib/Service/Account/Model/WithdrawOrderResponse.php
new file mode 100644
index 0000000..f84ff81
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WithdrawOrderWithdrawOrderRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawOrderResponseUnMarshaller.php b/lib/Service/Account/Model/WithdrawOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..fb70194
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'status' => 'string',
+ 'orderNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'status' => null,
+ 'orderNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'status' => 'status',
+ 'orderNo' => 'orderNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'status' => 'setStatus',
+ 'orderNo' => 'setOrderNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'status' => 'getStatus',
+ 'orderNo' => 'getOrderNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝提现订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/WithdrawQueryMGWithdrawOrderQueryRespDTOResult.php b/lib/Service/Account/Model/WithdrawQueryMGWithdrawOrderQueryRespDTOResult.php
new file mode 100644
index 0000000..e75d6a4
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawQueryMGWithdrawOrderQueryRespDTOResult.php
@@ -0,0 +1,806 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'orderNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderAmount' => 'float',
+ 'receiveAmount' => 'float',
+ 'debitAmount' => 'float',
+ 'orderTime' => 'string',
+ 'finishTime' => 'string',
+ 'status' => 'string',
+ 'failReason' => 'string',
+ 'feeUndertakerMerchantNo' => 'string',
+ 'fee' => 'float',
+ 'receiveType' => 'string',
+ 'accountName' => 'string',
+ 'accountNo' => 'string',
+ 'bankName' => 'string',
+ 'isReversed' => 'bool',
+ 'reverseTime' => 'string',
+ 'remark' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'orderNo' => null,
+ 'merchantNo' => null,
+ 'orderAmount' => null,
+ 'receiveAmount' => null,
+ 'debitAmount' => null,
+ 'orderTime' => 'date-time',
+ 'finishTime' => 'date-time',
+ 'status' => null,
+ 'failReason' => null,
+ 'feeUndertakerMerchantNo' => null,
+ 'fee' => null,
+ 'receiveType' => null,
+ 'accountName' => null,
+ 'accountNo' => null,
+ 'bankName' => null,
+ 'isReversed' => null,
+ 'reverseTime' => 'date-time',
+ 'remark' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'orderNo' => 'orderNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderAmount' => 'orderAmount',
+ 'receiveAmount' => 'receiveAmount',
+ 'debitAmount' => 'debitAmount',
+ 'orderTime' => 'orderTime',
+ 'finishTime' => 'finishTime',
+ 'status' => 'status',
+ 'failReason' => 'failReason',
+ 'feeUndertakerMerchantNo' => 'feeUndertakerMerchantNo',
+ 'fee' => 'fee',
+ 'receiveType' => 'receiveType',
+ 'accountName' => 'accountName',
+ 'accountNo' => 'accountNo',
+ 'bankName' => 'bankName',
+ 'isReversed' => 'isReversed',
+ 'reverseTime' => 'reverseTime',
+ 'remark' => 'remark',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'orderNo' => 'setOrderNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderAmount' => 'setOrderAmount',
+ 'receiveAmount' => 'setReceiveAmount',
+ 'debitAmount' => 'setDebitAmount',
+ 'orderTime' => 'setOrderTime',
+ 'finishTime' => 'setFinishTime',
+ 'status' => 'setStatus',
+ 'failReason' => 'setFailReason',
+ 'feeUndertakerMerchantNo' => 'setFeeUndertakerMerchantNo',
+ 'fee' => 'setFee',
+ 'receiveType' => 'setReceiveType',
+ 'accountName' => 'setAccountName',
+ 'accountNo' => 'setAccountNo',
+ 'bankName' => 'setBankName',
+ 'isReversed' => 'setIsReversed',
+ 'reverseTime' => 'setReverseTime',
+ 'remark' => 'setRemark',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'orderNo' => 'getOrderNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderAmount' => 'getOrderAmount',
+ 'receiveAmount' => 'getReceiveAmount',
+ 'debitAmount' => 'getDebitAmount',
+ 'orderTime' => 'getOrderTime',
+ 'finishTime' => 'getFinishTime',
+ 'status' => 'getStatus',
+ 'failReason' => 'getFailReason',
+ 'feeUndertakerMerchantNo' => 'getFeeUndertakerMerchantNo',
+ 'fee' => 'getFee',
+ 'receiveType' => 'getReceiveType',
+ 'accountName' => 'getAccountName',
+ 'accountNo' => 'getAccountNo',
+ 'bankName' => 'getBankName',
+ 'isReversed' => 'getIsReversed',
+ 'reverseTime' => 'getReverseTime',
+ 'remark' => 'getRemark',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['receiveAmount'] = isset($data['receiveAmount']) ? $data['receiveAmount'] : null;
+ $this->container['debitAmount'] = isset($data['debitAmount']) ? $data['debitAmount'] : null;
+ $this->container['orderTime'] = isset($data['orderTime']) ? $data['orderTime'] : null;
+ $this->container['finishTime'] = isset($data['finishTime']) ? $data['finishTime'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ $this->container['feeUndertakerMerchantNo'] = isset($data['feeUndertakerMerchantNo']) ? $data['feeUndertakerMerchantNo'] : null;
+ $this->container['fee'] = isset($data['fee']) ? $data['fee'] : null;
+ $this->container['receiveType'] = isset($data['receiveType']) ? $data['receiveType'] : null;
+ $this->container['accountName'] = isset($data['accountName']) ? $data['accountName'] : null;
+ $this->container['accountNo'] = isset($data['accountNo']) ? $data['accountNo'] : null;
+ $this->container['bankName'] = isset($data['bankName']) ? $data['bankName'] : null;
+ $this->container['isReversed'] = isset($data['isReversed']) ? $data['isReversed'] : null;
+ $this->container['reverseTime'] = isset($data['reverseTime']) ? $data['reverseTime'] : null;
+ $this->container['remark'] = isset($data['remark']) ? $data['remark'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 商户请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝提现订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 提现金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveAmount
+ * @return float
+ */
+ public function getReceiveAmount()
+ {
+ return $this->container['receiveAmount'];
+ }
+
+ /**
+ * Sets receiveAmount
+ * @param float $receiveAmount 到账金额
+ * @return $this
+ */
+ public function setReceiveAmount($receiveAmount)
+ {
+ $this->container['receiveAmount'] = $receiveAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets debitAmount
+ * @return float
+ */
+ public function getDebitAmount()
+ {
+ return $this->container['debitAmount'];
+ }
+
+ /**
+ * Sets debitAmount
+ * @param float $debitAmount 扣账金额
+ * @return $this
+ */
+ public function setDebitAmount($debitAmount)
+ {
+ $this->container['debitAmount'] = $debitAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderTime
+ * @return string
+ */
+ public function getOrderTime()
+ {
+ return $this->container['orderTime'];
+ }
+
+ /**
+ * Sets orderTime
+ * @param string $orderTime 提现下单时间
+ * @return $this
+ */
+ public function setOrderTime($orderTime)
+ {
+ $this->container['orderTime'] = $orderTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets finishTime
+ * @return string
+ */
+ public function getFinishTime()
+ {
+ return $this->container['finishTime'];
+ }
+
+ /**
+ * Sets finishTime
+ * @param string $finishTime 提现完成时间
+ * @return $this
+ */
+ public function setFinishTime($finishTime)
+ {
+ $this->container['finishTime'] = $finishTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 提现订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeUndertakerMerchantNo
+ * @return string
+ */
+ public function getFeeUndertakerMerchantNo()
+ {
+ return $this->container['feeUndertakerMerchantNo'];
+ }
+
+ /**
+ * Sets feeUndertakerMerchantNo
+ * @param string $feeUndertakerMerchantNo 手续费承担方商编
+ * @return $this
+ */
+ public function setFeeUndertakerMerchantNo($feeUndertakerMerchantNo)
+ {
+ $this->container['feeUndertakerMerchantNo'] = $feeUndertakerMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets fee
+ * @return float
+ */
+ public function getFee()
+ {
+ return $this->container['fee'];
+ }
+
+ /**
+ * Sets fee
+ * @param float $fee 手续费
+ * @return $this
+ */
+ public function setFee($fee)
+ {
+ $this->container['fee'] = $fee;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveType
+ * @return string
+ */
+ public function getReceiveType()
+ {
+ return $this->container['receiveType'];
+ }
+
+ /**
+ * Sets receiveType
+ * @param string $receiveType 到账类型
+ * @return $this
+ */
+ public function setReceiveType($receiveType)
+ {
+ $this->container['receiveType'] = $receiveType;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountName
+ * @return string
+ */
+ public function getAccountName()
+ {
+ return $this->container['accountName'];
+ }
+
+ /**
+ * Sets accountName
+ * @param string $accountName 开户名
+ * @return $this
+ */
+ public function setAccountName($accountName)
+ {
+ $this->container['accountName'] = $accountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountNo
+ * @return string
+ */
+ public function getAccountNo()
+ {
+ return $this->container['accountNo'];
+ }
+
+ /**
+ * Sets accountNo
+ * @param string $accountNo 银行账号
+ * @return $this
+ */
+ public function setAccountNo($accountNo)
+ {
+ $this->container['accountNo'] = $accountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankName
+ * @return string
+ */
+ public function getBankName()
+ {
+ return $this->container['bankName'];
+ }
+
+ /**
+ * Sets bankName
+ * @param string $bankName 开户行名称
+ * @return $this
+ */
+ public function setBankName($bankName)
+ {
+ $this->container['bankName'] = $bankName;
+
+ return $this;
+ }
+
+ /**
+ * Gets isReversed
+ * @return bool
+ */
+ public function getIsReversed()
+ {
+ return $this->container['isReversed'];
+ }
+
+ /**
+ * Sets isReversed
+ * @param bool $isReversed 冲退标识
+ * @return $this
+ */
+ public function setIsReversed($isReversed)
+ {
+ $this->container['isReversed'] = $isReversed;
+
+ return $this;
+ }
+
+ /**
+ * Gets reverseTime
+ * @return string
+ */
+ public function getReverseTime()
+ {
+ return $this->container['reverseTime'];
+ }
+
+ /**
+ * Sets reverseTime
+ * @param string $reverseTime 冲退时间
+ * @return $this
+ */
+ public function setReverseTime($reverseTime)
+ {
+ $this->container['reverseTime'] = $reverseTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets remark
+ * @return string
+ */
+ public function getRemark()
+ {
+ return $this->container['remark'];
+ }
+
+ /**
+ * Sets remark
+ * @param string $remark 备注
+ * @return $this
+ */
+ public function setRemark($remark)
+ {
+ $this->container['remark'] = $remark;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Account/Model/WithdrawQueryRequest.php b/lib/Service/Account/Model/WithdrawQueryRequest.php
new file mode 100644
index 0000000..0e39681
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return WithdrawQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return WithdrawQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->orderNo;
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo
+ * @return WithdrawQueryRequest
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->orderNo = $orderNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'withdrawQuery';
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawQueryRequestMarshaller.php b/lib/Service/Account/Model/WithdrawQueryRequestMarshaller.php
new file mode 100644
index 0000000..09e99aa
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WithdrawQueryRequestMarshaller::__init();
diff --git a/lib/Service/Account/Model/WithdrawQueryResponse.php b/lib/Service/Account/Model/WithdrawQueryResponse.php
new file mode 100644
index 0000000..d57220f
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WithdrawQueryMGWithdrawOrderQueryRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Account/Model/WithdrawQueryResponseUnMarshaller.php b/lib/Service/Account/Model/WithdrawQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..502051d
--- /dev/null
+++ b/lib/Service/Account/Model/WithdrawQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\PayRequest $request
+ * @return Model\PayResponse
+ * @throws YopClientException
+ */
+ public function pay(Model\PayRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\PayRequestMarshaller::getInstance(),
+ Model\PayResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\PrePayRequest $request
+ * @return Model\PrePayResponse
+ * @throws YopClientException
+ */
+ public function prePay(Model\PrePayRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\PrePayRequestMarshaller::getInstance(),
+ Model\PrePayResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ViolationWechatChannelRequest $request
+ * @return Model\ViolationWechatChannelResponse
+ * @throws YopClientException
+ */
+ public function violationWechatChannel(Model\ViolationWechatChannelRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getBeginTime() == null) {
+ throw new YopClientException("request.beginTime is required.");
+ }
+ if ($request->getEndTime() == null) {
+ throw new YopClientException("request.endTime is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\ViolationWechatChannelRequestMarshaller::getInstance(),
+ Model\ViolationWechatChannelResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WechatConfigAddRequest $request
+ * @return Model\WechatConfigAddResponse
+ * @throws YopClientException
+ */
+ public function wechatConfigAdd(Model\WechatConfigAddRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getBody() == null) {
+ throw new YopClientException("request.body is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WechatConfigAddRequestMarshaller::getInstance(),
+ Model\WechatConfigAddResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WechatConfigAdd0Request $request
+ * @return Model\WechatConfigAdd0Response
+ * @throws YopClientException
+ */
+ public function wechatConfigAdd_0(Model\WechatConfigAdd0Request $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WechatConfigAdd0RequestMarshaller::getInstance(),
+ Model\WechatConfigAdd0ResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WechatConfigQueryRequest $request
+ * @return Model\WechatConfigQueryResponse
+ * @throws YopClientException
+ */
+ public function wechatConfigQuery(Model\WechatConfigQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WechatConfigQueryRequestMarshaller::getInstance(),
+ Model\WechatConfigQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\WechatConfigQuery0Request $request
+ * @return Model\WechatConfigQuery0Response
+ * @throws YopClientException
+ */
+ public function wechatConfigQuery_0(Model\WechatConfigQuery0Request $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\WechatConfigQuery0RequestMarshaller::getInstance(),
+ Model\WechatConfigQuery0ResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Aggpay/AggpayClientBuilder.php b/lib/Service/Aggpay/AggpayClientBuilder.php
new file mode 100644
index 0000000..19d80ef
--- /dev/null
+++ b/lib/Service/Aggpay/AggpayClientBuilder.php
@@ -0,0 +1,82 @@
+register('pay',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('prePay',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('violationWechatChannel',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('wechatConfigAdd',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('wechatConfigAdd_0',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('wechatConfigQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('wechatConfigQuery_0',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * AggpayClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new AggpayClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return AggpayClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new AggpayClientBuilder($clientParams);
+ }
+
+}
+
+AggpayClientBuilder::__init();
diff --git a/lib/Service/Aggpay/Model/PayPassiveOrderResponseDTOResult.php b/lib/Service/Aggpay/Model/PayPassiveOrderResponseDTOResult.php
new file mode 100644
index 0000000..d045c4d
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PayPassiveOrderResponseDTOResult.php
@@ -0,0 +1,509 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * PayPassiveOrderResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class PayPassiveOrderResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'PayPassiveOrderResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'bankOrderId' => 'string',
+ 'status' => 'string',
+ 'terminalPayType' => 'string',
+ 'paySuccessDate' => 'string',
+ 'userId' => 'string',
+ 'bankId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'bankOrderId' => null,
+ 'status' => null,
+ 'terminalPayType' => null,
+ 'paySuccessDate' => 'date-time',
+ 'userId' => null,
+ 'bankId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'bankOrderId' => 'bankOrderId',
+ 'status' => 'status',
+ 'terminalPayType' => 'terminalPayType',
+ 'paySuccessDate' => 'paySuccessDate',
+ 'userId' => 'userId',
+ 'bankId' => 'bankId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'bankOrderId' => 'setBankOrderId',
+ 'status' => 'setStatus',
+ 'terminalPayType' => 'setTerminalPayType',
+ 'paySuccessDate' => 'setPaySuccessDate',
+ 'userId' => 'setUserId',
+ 'bankId' => 'setBankId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'bankOrderId' => 'getBankOrderId',
+ 'status' => 'getStatus',
+ 'terminalPayType' => 'getTerminalPayType',
+ 'paySuccessDate' => 'getPaySuccessDate',
+ 'userId' => 'getUserId',
+ 'bankId' => 'getBankId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['bankOrderId'] = isset($data['bankOrderId']) ? $data['bankOrderId'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['terminalPayType'] = isset($data['terminalPayType']) ? $data['terminalPayType'] : null;
+ $this->container['paySuccessDate'] = isset($data['paySuccessDate']) ? $data['paySuccessDate'] : null;
+ $this->container['userId'] = isset($data['userId']) ? $data['userId'] : null;
+ $this->container['bankId'] = isset($data['bankId']) ? $data['bankId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankOrderId
+ * @return string
+ */
+ public function getBankOrderId()
+ {
+ return $this->container['bankOrderId'];
+ }
+
+ /**
+ * Sets bankOrderId
+ * @param string $bankOrderId 渠道侧商户请求号
+ * @return $this
+ */
+ public function setBankOrderId($bankOrderId)
+ {
+ $this->container['bankOrderId'] = $bankOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminalPayType
+ * @return string
+ */
+ public function getTerminalPayType()
+ {
+ return $this->container['terminalPayType'];
+ }
+
+ /**
+ * Sets terminalPayType
+ * @param string $terminalPayType 终端授权方式
+ * @return $this
+ */
+ public function setTerminalPayType($terminalPayType)
+ {
+ $this->container['terminalPayType'] = $terminalPayType;
+
+ return $this;
+ }
+
+ /**
+ * Gets paySuccessDate
+ * @return string
+ */
+ public function getPaySuccessDate()
+ {
+ return $this->container['paySuccessDate'];
+ }
+
+ /**
+ * Sets paySuccessDate
+ * @param string $paySuccessDate 支付完成时间
+ * @return $this
+ */
+ public function setPaySuccessDate($paySuccessDate)
+ {
+ $this->container['paySuccessDate'] = $paySuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets userId
+ * @return string
+ */
+ public function getUserId()
+ {
+ return $this->container['userId'];
+ }
+
+ /**
+ * Sets userId
+ * @param string $userId 用户ID
+ * @return $this
+ */
+ public function setUserId($userId)
+ {
+ $this->container['userId'] = $userId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankId
+ * @return string
+ */
+ public function getBankId()
+ {
+ return $this->container['bankId'];
+ }
+
+ /**
+ * Sets bankId
+ * @param string $bankId 付款银行
+ * @return $this
+ */
+ public function setBankId($bankId)
+ {
+ $this->container['bankId'] = $bankId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/PayRequest.php b/lib/Service/Aggpay/Model/PayRequest.php
new file mode 100644
index 0000000..f945eac
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PayRequest.php
@@ -0,0 +1,717 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return PayRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return PayRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return PayRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return PayRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return PayRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return PayRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return PayRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return PayRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return PayRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets payWay
+ * @return string
+ */
+ public function getPayWay()
+ {
+ return $this->payWay;
+ }
+
+ /**
+ * Sets payWay
+ * @param string $payWay
+ * @return PayRequest
+ */
+ public function setPayWay($payWay)
+ {
+ $this->payWay = $payWay;
+
+ return $this;
+ }
+
+ /**
+ * Gets channel
+ * @return string
+ */
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+
+ /**
+ * Sets channel
+ * @param string $channel
+ * @return PayRequest
+ */
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+
+ return $this;
+ }
+
+ /**
+ * Gets scene
+ * @return string
+ */
+ public function getScene()
+ {
+ return $this->scene;
+ }
+
+ /**
+ * Sets scene
+ * @param string $scene
+ * @return PayRequest
+ */
+ public function setScene($scene)
+ {
+ $this->scene = $scene;
+
+ return $this;
+ }
+
+ /**
+ * Gets authCode
+ * @return string
+ */
+ public function getAuthCode()
+ {
+ return $this->authCode;
+ }
+
+ /**
+ * Sets authCode
+ * @param string $authCode
+ * @return PayRequest
+ */
+ public function setAuthCode($authCode)
+ {
+ $this->authCode = $authCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets appId
+ * @return string
+ */
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+
+ /**
+ * Sets appId
+ * @param string $appId
+ * @return PayRequest
+ */
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userIp
+ * @return string
+ */
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+
+ /**
+ * Sets userIp
+ * @param string $userIp
+ * @return PayRequest
+ */
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminalId
+ * @return string
+ */
+ public function getTerminalId()
+ {
+ return $this->terminalId;
+ }
+
+ /**
+ * Sets terminalId
+ * @param string $terminalId
+ * @return PayRequest
+ */
+ public function setTerminalId($terminalId)
+ {
+ $this->terminalId = $terminalId;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminalSceneInfo
+ * @return string
+ */
+ public function getTerminalSceneInfo()
+ {
+ return $this->terminalSceneInfo;
+ }
+
+ /**
+ * Sets terminalSceneInfo
+ * @param string $terminalSceneInfo
+ * @return PayRequest
+ */
+ public function setTerminalSceneInfo($terminalSceneInfo)
+ {
+ $this->terminalSceneInfo = $terminalSceneInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelSpecifiedInfo
+ * @return string
+ */
+ public function getChannelSpecifiedInfo()
+ {
+ return $this->channelSpecifiedInfo;
+ }
+
+ /**
+ * Sets channelSpecifiedInfo
+ * @param string $channelSpecifiedInfo
+ * @return PayRequest
+ */
+ public function setChannelSpecifiedInfo($channelSpecifiedInfo)
+ {
+ $this->channelSpecifiedInfo = $channelSpecifiedInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelPromotionInfo
+ * @return string
+ */
+ public function getChannelPromotionInfo()
+ {
+ return $this->channelPromotionInfo;
+ }
+
+ /**
+ * Sets channelPromotionInfo
+ * @param string $channelPromotionInfo
+ * @return PayRequest
+ */
+ public function setChannelPromotionInfo($channelPromotionInfo)
+ {
+ $this->channelPromotionInfo = $channelPromotionInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets identityInfo
+ * @return string
+ */
+ public function getIdentityInfo()
+ {
+ return $this->identityInfo;
+ }
+
+ /**
+ * Sets identityInfo
+ * @param string $identityInfo
+ * @return PayRequest
+ */
+ public function setIdentityInfo($identityInfo)
+ {
+ $this->identityInfo = $identityInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets limitCredit
+ * @return string
+ */
+ public function getLimitCredit()
+ {
+ return $this->limitCredit;
+ }
+
+ /**
+ * Sets limitCredit
+ * @param string $limitCredit
+ * @return PayRequest
+ */
+ public function setLimitCredit($limitCredit)
+ {
+ $this->limitCredit = $limitCredit;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return PayRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return PayRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets csUrl
+ * @return string
+ */
+ public function getCsUrl()
+ {
+ return $this->csUrl;
+ }
+
+ /**
+ * Sets csUrl
+ * @param string $csUrl
+ * @return PayRequest
+ */
+ public function setCsUrl($csUrl)
+ {
+ $this->csUrl = $csUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets encryptedPINData
+ * @return string
+ */
+ public function getEncryptedPINData()
+ {
+ return $this->encryptedPINData;
+ }
+
+ /**
+ * Sets encryptedPINData
+ * @param string $encryptedPINData
+ * @return PayRequest
+ */
+ public function setEncryptedPINData($encryptedPINData)
+ {
+ $this->encryptedPINData = $encryptedPINData;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerAccountNo
+ * @return string
+ */
+ public function getPayerAccountNo()
+ {
+ return $this->payerAccountNo;
+ }
+
+ /**
+ * Sets payerAccountNo
+ * @param string $payerAccountNo
+ * @return PayRequest
+ */
+ public function setPayerAccountNo($payerAccountNo)
+ {
+ $this->payerAccountNo = $payerAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountLinkInfo
+ * @return string
+ */
+ public function getAccountLinkInfo()
+ {
+ return $this->accountLinkInfo;
+ }
+
+ /**
+ * Sets accountLinkInfo
+ * @param string $accountLinkInfo
+ * @return PayRequest
+ */
+ public function setAccountLinkInfo($accountLinkInfo)
+ {
+ $this->accountLinkInfo = $accountLinkInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'pay';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/PayRequestMarshaller.php b/lib/Service/Aggpay/Model/PayRequestMarshaller.php
new file mode 100644
index 0000000..0ccd393
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PayRequestMarshaller.php
@@ -0,0 +1,185 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string', 'date-time'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getPayWay() != null) {
+ $internalRequest->addParameter('payWay',
+ ObjectSerializer::sanitizeForSerialization($request->getPayWay(), 'string'));
+ }
+ if ($request->getChannel() != null) {
+ $internalRequest->addParameter('channel',
+ ObjectSerializer::sanitizeForSerialization($request->getChannel(), 'string'));
+ }
+ if ($request->getScene() != null) {
+ $internalRequest->addParameter('scene',
+ ObjectSerializer::sanitizeForSerialization($request->getScene(), 'string'));
+ }
+ if ($request->getAuthCode() != null) {
+ $internalRequest->addParameter('authCode',
+ ObjectSerializer::sanitizeForSerialization($request->getAuthCode(), 'string'));
+ }
+ if ($request->getAppId() != null) {
+ $internalRequest->addParameter('appId',
+ ObjectSerializer::sanitizeForSerialization($request->getAppId(), 'string'));
+ }
+ if ($request->getUserIp() != null) {
+ $internalRequest->addParameter('userIp',
+ ObjectSerializer::sanitizeForSerialization($request->getUserIp(), 'string'));
+ }
+ if ($request->getTerminalId() != null) {
+ $internalRequest->addParameter('terminalId',
+ ObjectSerializer::sanitizeForSerialization($request->getTerminalId(), 'string'));
+ }
+ if ($request->getTerminalSceneInfo() != null) {
+ $internalRequest->addParameter('terminalSceneInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getTerminalSceneInfo(), 'string'));
+ }
+ if ($request->getChannelSpecifiedInfo() != null) {
+ $internalRequest->addParameter('channelSpecifiedInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getChannelSpecifiedInfo(), 'string'));
+ }
+ if ($request->getChannelPromotionInfo() != null) {
+ $internalRequest->addParameter('channelPromotionInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getChannelPromotionInfo(), 'string'));
+ }
+ if ($request->getIdentityInfo() != null) {
+ $internalRequest->addParameter('identityInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdentityInfo(), 'string'));
+ }
+ if ($request->getLimitCredit() != null) {
+ $internalRequest->addParameter('limitCredit',
+ ObjectSerializer::sanitizeForSerialization($request->getLimitCredit(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getCsUrl() != null) {
+ $internalRequest->addParameter('csUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getCsUrl(), 'string', 'url'));
+ }
+ if ($request->getEncryptedPINData() != null) {
+ $internalRequest->addParameter('encryptedPINData',
+ ObjectSerializer::sanitizeForSerialization($request->getEncryptedPINData(), 'string'));
+ }
+ if ($request->getPayerAccountNo() != null) {
+ $internalRequest->addParameter('payerAccountNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPayerAccountNo(), 'string'));
+ }
+ if ($request->getAccountLinkInfo() != null) {
+ $internalRequest->addParameter('accountLinkInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountLinkInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+PayRequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/PayResponse.php b/lib/Service/Aggpay/Model/PayResponse.php
new file mode 100644
index 0000000..f95d77c
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PayResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return PayPassiveOrderResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/PayResponseUnMarshaller.php b/lib/Service/Aggpay/Model/PayResponseUnMarshaller.php
new file mode 100644
index 0000000..d664dcc
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PayResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * PrePayOrderResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class PrePayOrderResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'PrePayOrderResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'bankOrderId' => 'string',
+ 'prePayTn' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'bankOrderId' => null,
+ 'prePayTn' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'bankOrderId' => 'bankOrderId',
+ 'prePayTn' => 'prePayTn',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'bankOrderId' => 'setBankOrderId',
+ 'prePayTn' => 'setPrePayTn',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'bankOrderId' => 'getBankOrderId',
+ 'prePayTn' => 'getPrePayTn',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['bankOrderId'] = isset($data['bankOrderId']) ? $data['bankOrderId'] : null;
+ $this->container['prePayTn'] = isset($data['prePayTn']) ? $data['prePayTn'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankOrderId
+ * @return string
+ */
+ public function getBankOrderId()
+ {
+ return $this->container['bankOrderId'];
+ }
+
+ /**
+ * Sets bankOrderId
+ * @param string $bankOrderId 渠道侧商户请求号
+ * @return $this
+ */
+ public function setBankOrderId($bankOrderId)
+ {
+ $this->container['bankOrderId'] = $bankOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets prePayTn
+ * @return string
+ */
+ public function getPrePayTn()
+ {
+ return $this->container['prePayTn'];
+ }
+
+ /**
+ * Sets prePayTn
+ * @param string $prePayTn 预支付标识信息
+ * @return $this
+ */
+ public function setPrePayTn($prePayTn)
+ {
+ $this->container['prePayTn'] = $prePayTn;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/PrePayRequest.php b/lib/Service/Aggpay/Model/PrePayRequest.php
new file mode 100644
index 0000000..654d3f6
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PrePayRequest.php
@@ -0,0 +1,665 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return PrePayRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return PrePayRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return PrePayRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return PrePayRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return PrePayRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return PrePayRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets redirectUrl
+ * @return string
+ */
+ public function getRedirectUrl()
+ {
+ return $this->redirectUrl;
+ }
+
+ /**
+ * Sets redirectUrl
+ * @param string $redirectUrl
+ * @return PrePayRequest
+ */
+ public function setRedirectUrl($redirectUrl)
+ {
+ $this->redirectUrl = $redirectUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return PrePayRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return PrePayRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return PrePayRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets payWay
+ * @return string
+ */
+ public function getPayWay()
+ {
+ return $this->payWay;
+ }
+
+ /**
+ * Sets payWay
+ * @param string $payWay
+ * @return PrePayRequest
+ */
+ public function setPayWay($payWay)
+ {
+ $this->payWay = $payWay;
+
+ return $this;
+ }
+
+ /**
+ * Gets channel
+ * @return string
+ */
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+
+ /**
+ * Sets channel
+ * @param string $channel
+ * @return PrePayRequest
+ */
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+
+ return $this;
+ }
+
+ /**
+ * Gets scene
+ * @return string
+ */
+ public function getScene()
+ {
+ return $this->scene;
+ }
+
+ /**
+ * Sets scene
+ * @param string $scene
+ * @return PrePayRequest
+ */
+ public function setScene($scene)
+ {
+ $this->scene = $scene;
+
+ return $this;
+ }
+
+ /**
+ * Gets appId
+ * @return string
+ */
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+
+ /**
+ * Sets appId
+ * @param string $appId
+ * @return PrePayRequest
+ */
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userId
+ * @return string
+ */
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+
+ /**
+ * Sets userId
+ * @param string $userId
+ * @return PrePayRequest
+ */
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userIp
+ * @return string
+ */
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+
+ /**
+ * Sets userIp
+ * @param string $userIp
+ * @return PrePayRequest
+ */
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelSpecifiedInfo
+ * @return string
+ */
+ public function getChannelSpecifiedInfo()
+ {
+ return $this->channelSpecifiedInfo;
+ }
+
+ /**
+ * Sets channelSpecifiedInfo
+ * @param string $channelSpecifiedInfo
+ * @return PrePayRequest
+ */
+ public function setChannelSpecifiedInfo($channelSpecifiedInfo)
+ {
+ $this->channelSpecifiedInfo = $channelSpecifiedInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelPromotionInfo
+ * @return string
+ */
+ public function getChannelPromotionInfo()
+ {
+ return $this->channelPromotionInfo;
+ }
+
+ /**
+ * Sets channelPromotionInfo
+ * @param string $channelPromotionInfo
+ * @return PrePayRequest
+ */
+ public function setChannelPromotionInfo($channelPromotionInfo)
+ {
+ $this->channelPromotionInfo = $channelPromotionInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets identityInfo
+ * @return string
+ */
+ public function getIdentityInfo()
+ {
+ return $this->identityInfo;
+ }
+
+ /**
+ * Sets identityInfo
+ * @param string $identityInfo
+ * @return PrePayRequest
+ */
+ public function setIdentityInfo($identityInfo)
+ {
+ $this->identityInfo = $identityInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets limitCredit
+ * @return string
+ */
+ public function getLimitCredit()
+ {
+ return $this->limitCredit;
+ }
+
+ /**
+ * Sets limitCredit
+ * @param string $limitCredit
+ * @return PrePayRequest
+ */
+ public function setLimitCredit($limitCredit)
+ {
+ $this->limitCredit = $limitCredit;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return PrePayRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return PrePayRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets csUrl
+ * @return string
+ */
+ public function getCsUrl()
+ {
+ return $this->csUrl;
+ }
+
+ /**
+ * Sets csUrl
+ * @param string $csUrl
+ * @return PrePayRequest
+ */
+ public function setCsUrl($csUrl)
+ {
+ $this->csUrl = $csUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountLinkInfo
+ * @return string
+ */
+ public function getAccountLinkInfo()
+ {
+ return $this->accountLinkInfo;
+ }
+
+ /**
+ * Sets accountLinkInfo
+ * @param string $accountLinkInfo
+ * @return PrePayRequest
+ */
+ public function setAccountLinkInfo($accountLinkInfo)
+ {
+ $this->accountLinkInfo = $accountLinkInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypPromotionInfo
+ * @return string
+ */
+ public function getYpPromotionInfo()
+ {
+ return $this->ypPromotionInfo;
+ }
+
+ /**
+ * Sets ypPromotionInfo
+ * @param string $ypPromotionInfo
+ * @return PrePayRequest
+ */
+ public function setYpPromotionInfo($ypPromotionInfo)
+ {
+ $this->ypPromotionInfo = $ypPromotionInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'prePay';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/PrePayRequestMarshaller.php b/lib/Service/Aggpay/Model/PrePayRequestMarshaller.php
new file mode 100644
index 0000000..ff038bf
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PrePayRequestMarshaller.php
@@ -0,0 +1,177 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string', 'date-time'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getRedirectUrl() != null) {
+ $internalRequest->addParameter('redirectUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getRedirectUrl(), 'string', 'url'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getPayWay() != null) {
+ $internalRequest->addParameter('payWay',
+ ObjectSerializer::sanitizeForSerialization($request->getPayWay(), 'string'));
+ }
+ if ($request->getChannel() != null) {
+ $internalRequest->addParameter('channel',
+ ObjectSerializer::sanitizeForSerialization($request->getChannel(), 'string'));
+ }
+ if ($request->getScene() != null) {
+ $internalRequest->addParameter('scene',
+ ObjectSerializer::sanitizeForSerialization($request->getScene(), 'string'));
+ }
+ if ($request->getAppId() != null) {
+ $internalRequest->addParameter('appId',
+ ObjectSerializer::sanitizeForSerialization($request->getAppId(), 'string'));
+ }
+ if ($request->getUserId() != null) {
+ $internalRequest->addParameter('userId',
+ ObjectSerializer::sanitizeForSerialization($request->getUserId(), 'string'));
+ }
+ if ($request->getUserIp() != null) {
+ $internalRequest->addParameter('userIp',
+ ObjectSerializer::sanitizeForSerialization($request->getUserIp(), 'string'));
+ }
+ if ($request->getChannelSpecifiedInfo() != null) {
+ $internalRequest->addParameter('channelSpecifiedInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getChannelSpecifiedInfo(), 'string'));
+ }
+ if ($request->getChannelPromotionInfo() != null) {
+ $internalRequest->addParameter('channelPromotionInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getChannelPromotionInfo(), 'string'));
+ }
+ if ($request->getIdentityInfo() != null) {
+ $internalRequest->addParameter('identityInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdentityInfo(), 'string'));
+ }
+ if ($request->getLimitCredit() != null) {
+ $internalRequest->addParameter('limitCredit',
+ ObjectSerializer::sanitizeForSerialization($request->getLimitCredit(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getCsUrl() != null) {
+ $internalRequest->addParameter('csUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getCsUrl(), 'string', 'url'));
+ }
+ if ($request->getAccountLinkInfo() != null) {
+ $internalRequest->addParameter('accountLinkInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountLinkInfo(), 'string'));
+ }
+ if ($request->getYpPromotionInfo() != null) {
+ $internalRequest->addParameter('ypPromotionInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getYpPromotionInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+PrePayRequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/PrePayResponse.php b/lib/Service/Aggpay/Model/PrePayResponse.php
new file mode 100644
index 0000000..382e44b
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PrePayResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return PrePayOrderResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/PrePayResponseUnMarshaller.php b/lib/Service/Aggpay/Model/PrePayResponseUnMarshaller.php
new file mode 100644
index 0000000..b8020a2
--- /dev/null
+++ b/lib/Service/Aggpay/Model/PrePayResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ViolationWechatChannelRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets beginTime
+ * @return string
+ */
+ public function getBeginTime()
+ {
+ return $this->beginTime;
+ }
+
+ /**
+ * Sets beginTime
+ * @param string $beginTime
+ * @return ViolationWechatChannelRequest
+ */
+ public function setBeginTime($beginTime)
+ {
+ $this->beginTime = $beginTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets endTime
+ * @return string
+ */
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ /**
+ * Sets endTime
+ * @param string $endTime
+ * @return ViolationWechatChannelRequest
+ */
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'violationWechatChannel';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/ViolationWechatChannelRequestMarshaller.php b/lib/Service/Aggpay/Model/ViolationWechatChannelRequestMarshaller.php
new file mode 100644
index 0000000..6f2ed69
--- /dev/null
+++ b/lib/Service/Aggpay/Model/ViolationWechatChannelRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ViolationWechatChannelRequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/ViolationWechatChannelResponse.php b/lib/Service/Aggpay/Model/ViolationWechatChannelResponse.php
new file mode 100644
index 0000000..2449eba
--- /dev/null
+++ b/lib/Service/Aggpay/Model/ViolationWechatChannelResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ViolationWechatChannelWechatRiskQueryResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/ViolationWechatChannelResponseUnMarshaller.php b/lib/Service/Aggpay/Model/ViolationWechatChannelResponseUnMarshaller.php
new file mode 100644
index 0000000..13d3361
--- /dev/null
+++ b/lib/Service/Aggpay/Model/ViolationWechatChannelResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * ViolationWechatChannelWechatRiskQueryResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class ViolationWechatChannelWechatRiskQueryResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'ViolationWechatChannelWechatRiskQueryResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'violationRecordDTOList' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\ViolationWechatChannelWechatViolationRecordDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'violationRecordDTOList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'violationRecordDTOList' => 'violationRecordDTOList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'violationRecordDTOList' => 'setViolationRecordDTOList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'violationRecordDTOList' => 'getViolationRecordDTOList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['violationRecordDTOList'] = isset($data['violationRecordDTOList']) ? $data['violationRecordDTOList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets violationRecordDTOList
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\ViolationWechatChannelWechatViolationRecordDTOResult[]
+ */
+ public function getViolationRecordDTOList()
+ {
+ return $this->container['violationRecordDTOList'];
+ }
+
+ /**
+ * Sets violationRecordDTOList
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\ViolationWechatChannelWechatViolationRecordDTOResult[] $violationRecordDTOList 违规信息列表
+ * @return $this
+ */
+ public function setViolationRecordDTOList($violationRecordDTOList)
+ {
+ $this->container['violationRecordDTOList'] = $violationRecordDTOList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/ViolationWechatChannelWechatViolationRecordDTOResult.php b/lib/Service/Aggpay/Model/ViolationWechatChannelWechatViolationRecordDTOResult.php
new file mode 100644
index 0000000..6495d8d
--- /dev/null
+++ b/lib/Service/Aggpay/Model/ViolationWechatChannelWechatViolationRecordDTOResult.php
@@ -0,0 +1,428 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * ViolationWechatChannelWechatViolationRecordDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class ViolationWechatChannelWechatViolationRecordDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'ViolationWechatChannelWechatViolationRecordDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'companyName' => 'string',
+ 'handleMethod' => 'string',
+ 'handleState' => 'string',
+ 'illegalType' => 'string',
+ 'punishTime' => 'string',
+ 'deadline' => 'string',
+ 'reportMerchantNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'companyName' => null,
+ 'handleMethod' => null,
+ 'handleState' => null,
+ 'illegalType' => null,
+ 'punishTime' => null,
+ 'deadline' => null,
+ 'reportMerchantNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'companyName' => 'companyName',
+ 'handleMethod' => 'handleMethod',
+ 'handleState' => 'handleState',
+ 'illegalType' => 'illegalType',
+ 'punishTime' => 'punishTime',
+ 'deadline' => 'deadline',
+ 'reportMerchantNo' => 'reportMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'companyName' => 'setCompanyName',
+ 'handleMethod' => 'setHandleMethod',
+ 'handleState' => 'setHandleState',
+ 'illegalType' => 'setIllegalType',
+ 'punishTime' => 'setPunishTime',
+ 'deadline' => 'setDeadline',
+ 'reportMerchantNo' => 'setReportMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'companyName' => 'getCompanyName',
+ 'handleMethod' => 'getHandleMethod',
+ 'handleState' => 'getHandleState',
+ 'illegalType' => 'getIllegalType',
+ 'punishTime' => 'getPunishTime',
+ 'deadline' => 'getDeadline',
+ 'reportMerchantNo' => 'getReportMerchantNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['companyName'] = isset($data['companyName']) ? $data['companyName'] : null;
+ $this->container['handleMethod'] = isset($data['handleMethod']) ? $data['handleMethod'] : null;
+ $this->container['handleState'] = isset($data['handleState']) ? $data['handleState'] : null;
+ $this->container['illegalType'] = isset($data['illegalType']) ? $data['illegalType'] : null;
+ $this->container['punishTime'] = isset($data['punishTime']) ? $data['punishTime'] : null;
+ $this->container['deadline'] = isset($data['deadline']) ? $data['deadline'] : null;
+ $this->container['reportMerchantNo'] = isset($data['reportMerchantNo']) ? $data['reportMerchantNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets companyName
+ * @return string
+ */
+ public function getCompanyName()
+ {
+ return $this->container['companyName'];
+ }
+
+ /**
+ * Sets companyName
+ * @param string $companyName 公司名称
+ * @return $this
+ */
+ public function setCompanyName($companyName)
+ {
+ $this->container['companyName'] = $companyName;
+
+ return $this;
+ }
+
+ /**
+ * Gets handleMethod
+ * @return string
+ */
+ public function getHandleMethod()
+ {
+ return $this->container['handleMethod'];
+ }
+
+ /**
+ * Sets handleMethod
+ * @param string $handleMethod 处理方式
+ * @return $this
+ */
+ public function setHandleMethod($handleMethod)
+ {
+ $this->container['handleMethod'] = $handleMethod;
+
+ return $this;
+ }
+
+ /**
+ * Gets handleState
+ * @return string
+ */
+ public function getHandleState()
+ {
+ return $this->container['handleState'];
+ }
+
+ /**
+ * Sets handleState
+ * @param string $handleState 处理状态
+ * @return $this
+ */
+ public function setHandleState($handleState)
+ {
+ $this->container['handleState'] = $handleState;
+
+ return $this;
+ }
+
+ /**
+ * Gets illegalType
+ * @return string
+ */
+ public function getIllegalType()
+ {
+ return $this->container['illegalType'];
+ }
+
+ /**
+ * Sets illegalType
+ * @param string $illegalType 违规类型
+ * @return $this
+ */
+ public function setIllegalType($illegalType)
+ {
+ $this->container['illegalType'] = $illegalType;
+
+ return $this;
+ }
+
+ /**
+ * Gets punishTime
+ * @return string
+ */
+ public function getPunishTime()
+ {
+ return $this->container['punishTime'];
+ }
+
+ /**
+ * Sets punishTime
+ * @param string $punishTime 处罚时间
+ * @return $this
+ */
+ public function setPunishTime($punishTime)
+ {
+ $this->container['punishTime'] = $punishTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets deadline
+ * @return string
+ */
+ public function getDeadline()
+ {
+ return $this->container['deadline'];
+ }
+
+ /**
+ * Sets deadline
+ * @param string $deadline 最后处理时间
+ * @return $this
+ */
+ public function setDeadline($deadline)
+ {
+ $this->container['deadline'] = $deadline;
+
+ return $this;
+ }
+
+ /**
+ * Gets reportMerchantNo
+ * @return string
+ */
+ public function getReportMerchantNo()
+ {
+ return $this->container['reportMerchantNo'];
+ }
+
+ /**
+ * Sets reportMerchantNo
+ * @param string $reportMerchantNo 违规子商户号-报备商户号
+ * @return $this
+ */
+ public function setReportMerchantNo($reportMerchantNo)
+ {
+ $this->container['reportMerchantNo'] = $reportMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigAdd0Request.php b/lib/Service/Aggpay/Model/WechatConfigAdd0Request.php
new file mode 100644
index 0000000..aef326b
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAdd0Request.php
@@ -0,0 +1,119 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return WechatConfigAdd0Request
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WechatConfigAdd0Request
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets tradeAuthDirList
+ * @return string
+ */
+ public function getTradeAuthDirList()
+ {
+ return $this->tradeAuthDirList;
+ }
+
+ /**
+ * Sets tradeAuthDirList
+ * @param string $tradeAuthDirList
+ * @return WechatConfigAdd0Request
+ */
+ public function setTradeAuthDirList($tradeAuthDirList)
+ {
+ $this->tradeAuthDirList = $tradeAuthDirList;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdList
+ * @return string
+ */
+ public function getAppIdList()
+ {
+ return $this->appIdList;
+ }
+
+ /**
+ * Sets appIdList
+ * @param string $appIdList
+ * @return WechatConfigAdd0Request
+ */
+ public function setAppIdList($appIdList)
+ {
+ $this->appIdList = $appIdList;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'wechatConfigAdd_0';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigAdd0RequestMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigAdd0RequestMarshaller.php
new file mode 100644
index 0000000..a39bafc
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAdd0RequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getTradeAuthDirList() != null) {
+ $internalRequest->addParameter('tradeAuthDirList',
+ ObjectSerializer::sanitizeForSerialization($request->getTradeAuthDirList(), 'string'));
+ }
+ if ($request->getAppIdList() != null) {
+ $internalRequest->addParameter('appIdList',
+ ObjectSerializer::sanitizeForSerialization($request->getAppIdList(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WechatConfigAdd0RequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/WechatConfigAdd0Response.php b/lib/Service/Aggpay/Model/WechatConfigAdd0Response.php
new file mode 100644
index 0000000..79bf377
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAdd0Response.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WechatConfigAddWechatConfigFlatResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigAdd0ResponseUnMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigAdd0ResponseUnMarshaller.php
new file mode 100644
index 0000000..3d803af
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAdd0ResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigAddAppIdConfigDetailResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigAddAppIdConfigDetailResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigAddAppIdConfigDetailResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'appId' => 'string',
+ 'appSecret' => 'string',
+ 'appIdType' => 'string',
+ 'subscribeAppId' => 'string',
+ 'status' => 'string',
+ 'failReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'appId' => null,
+ 'appSecret' => null,
+ 'appIdType' => null,
+ 'subscribeAppId' => null,
+ 'status' => null,
+ 'failReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'appId' => 'appId',
+ 'appSecret' => 'appSecret',
+ 'appIdType' => 'appIdType',
+ 'subscribeAppId' => 'subscribeAppId',
+ 'status' => 'status',
+ 'failReason' => 'failReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'appId' => 'setAppId',
+ 'appSecret' => 'setAppSecret',
+ 'appIdType' => 'setAppIdType',
+ 'subscribeAppId' => 'setSubscribeAppId',
+ 'status' => 'setStatus',
+ 'failReason' => 'setFailReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'appId' => 'getAppId',
+ 'appSecret' => 'getAppSecret',
+ 'appIdType' => 'getAppIdType',
+ 'subscribeAppId' => 'getSubscribeAppId',
+ 'status' => 'getStatus',
+ 'failReason' => 'getFailReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['appId'] = isset($data['appId']) ? $data['appId'] : null;
+ $this->container['appSecret'] = isset($data['appSecret']) ? $data['appSecret'] : null;
+ $this->container['appIdType'] = isset($data['appIdType']) ? $data['appIdType'] : null;
+ $this->container['subscribeAppId'] = isset($data['subscribeAppId']) ? $data['subscribeAppId'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets appId
+ * @return string
+ */
+ public function getAppId()
+ {
+ return $this->container['appId'];
+ }
+
+ /**
+ * Sets appId
+ * @param string $appId appId
+ * @return $this
+ */
+ public function setAppId($appId)
+ {
+ $this->container['appId'] = $appId;
+
+ return $this;
+ }
+
+ /**
+ * Gets appSecret
+ * @return string
+ */
+ public function getAppSecret()
+ {
+ return $this->container['appSecret'];
+ }
+
+ /**
+ * Sets appSecret
+ * @param string $appSecret appSecret
+ * @return $this
+ */
+ public function setAppSecret($appSecret)
+ {
+ $this->container['appSecret'] = $appSecret;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdType
+ * @return string
+ */
+ public function getAppIdType()
+ {
+ return $this->container['appIdType'];
+ }
+
+ /**
+ * Sets appIdType
+ * @param string $appIdType appIdType
+ * @return $this
+ */
+ public function setAppIdType($appIdType)
+ {
+ $this->container['appIdType'] = $appIdType;
+
+ return $this;
+ }
+
+ /**
+ * Gets subscribeAppId
+ * @return string
+ */
+ public function getSubscribeAppId()
+ {
+ return $this->container['subscribeAppId'];
+ }
+
+ /**
+ * Sets subscribeAppId
+ * @param string $subscribeAppId subscribeAppId
+ * @return $this
+ */
+ public function setSubscribeAppId($subscribeAppId)
+ {
+ $this->container['subscribeAppId'] = $subscribeAppId;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 配置状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddConfigMerchantDTOResult.php b/lib/Service/Aggpay/Model/WechatConfigAddConfigMerchantDTOResult.php
new file mode 100644
index 0000000..6693157
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddConfigMerchantDTOResult.php
@@ -0,0 +1,320 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigAddConfigMerchantDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigAddConfigMerchantDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigAddConfigMerchantDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'reportMerchantNo' => 'string',
+ 'tradeAuthDirList' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddTradeAuthDirDTOResult[]',
+ 'appIdList' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddAppIdConfigDetailResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'reportMerchantNo' => null,
+ 'tradeAuthDirList' => null,
+ 'appIdList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'reportMerchantNo' => 'reportMerchantNo',
+ 'tradeAuthDirList' => 'tradeAuthDirList',
+ 'appIdList' => 'appIdList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'reportMerchantNo' => 'setReportMerchantNo',
+ 'tradeAuthDirList' => 'setTradeAuthDirList',
+ 'appIdList' => 'setAppIdList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'reportMerchantNo' => 'getReportMerchantNo',
+ 'tradeAuthDirList' => 'getTradeAuthDirList',
+ 'appIdList' => 'getAppIdList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['reportMerchantNo'] = isset($data['reportMerchantNo']) ? $data['reportMerchantNo'] : null;
+ $this->container['tradeAuthDirList'] = isset($data['tradeAuthDirList']) ? $data['tradeAuthDirList'] : null;
+ $this->container['appIdList'] = isset($data['appIdList']) ? $data['appIdList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets reportMerchantNo
+ * @return string
+ */
+ public function getReportMerchantNo()
+ {
+ return $this->container['reportMerchantNo'];
+ }
+
+ /**
+ * Sets reportMerchantNo
+ * @param string $reportMerchantNo 报备商户号
+ * @return $this
+ */
+ public function setReportMerchantNo($reportMerchantNo)
+ {
+ $this->container['reportMerchantNo'] = $reportMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets tradeAuthDirList
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddTradeAuthDirDTOResult[]
+ */
+ public function getTradeAuthDirList()
+ {
+ return $this->container['tradeAuthDirList'];
+ }
+
+ /**
+ * Sets tradeAuthDirList
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddTradeAuthDirDTOResult[] $tradeAuthDirList 支付授权目录列表
+ * @return $this
+ */
+ public function setTradeAuthDirList($tradeAuthDirList)
+ {
+ $this->container['tradeAuthDirList'] = $tradeAuthDirList;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdList
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddAppIdConfigDetailResult[]
+ */
+ public function getAppIdList()
+ {
+ return $this->container['appIdList'];
+ }
+
+ /**
+ * Sets appIdList
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddAppIdConfigDetailResult[] $appIdList 支付appId配置列表
+ * @return $this
+ */
+ public function setAppIdList($appIdList)
+ {
+ $this->container['appIdList'] = $appIdList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddRequest.php b/lib/Service/Aggpay/Model/WechatConfigAddRequest.php
new file mode 100644
index 0000000..2f6f3dc
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddRequest.php
@@ -0,0 +1,41 @@
+body;
+ }
+
+ /**
+ * Sets body
+ * @param $body
+ * @return WechatConfigAddRequest
+ */
+ public function setBody($body)
+ {
+ $this->body = $body;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'wechatConfigAdd';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddRequestMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigAddRequestMarshaller.php
new file mode 100644
index 0000000..4ac7a5c
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddRequestMarshaller.php
@@ -0,0 +1,79 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $content = \GuzzleHttp\json_encode($request->getBody());
+ $internalRequest->setContent(\GuzzleHttp\Psr7\stream_for($content));
+ $internalRequest->addHeader(Headers::CONTENT_LENGTH, strlen($content));
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WechatConfigAddRequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddResponse.php b/lib/Service/Aggpay/Model/WechatConfigAddResponse.php
new file mode 100644
index 0000000..91a8827
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WechatConfigAddWechatConfigResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddResponseUnMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigAddResponseUnMarshaller.php
new file mode 100644
index 0000000..fb66fd5
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigAddTradeAuthDirDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigAddTradeAuthDirDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigAddTradeAuthDirDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'tradeAuthDir' => 'string',
+ 'status' => 'string',
+ 'failReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'tradeAuthDir' => null,
+ 'status' => null,
+ 'failReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'tradeAuthDir' => 'tradeAuthDir',
+ 'status' => 'status',
+ 'failReason' => 'failReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'tradeAuthDir' => 'setTradeAuthDir',
+ 'status' => 'setStatus',
+ 'failReason' => 'setFailReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'tradeAuthDir' => 'getTradeAuthDir',
+ 'status' => 'getStatus',
+ 'failReason' => 'getFailReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['tradeAuthDir'] = isset($data['tradeAuthDir']) ? $data['tradeAuthDir'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets tradeAuthDir
+ * @return string
+ */
+ public function getTradeAuthDir()
+ {
+ return $this->container['tradeAuthDir'];
+ }
+
+ /**
+ * Sets tradeAuthDir
+ * @param string $tradeAuthDir 支付授权目录
+ * @return $this
+ */
+ public function setTradeAuthDir($tradeAuthDir)
+ {
+ $this->container['tradeAuthDir'] = $tradeAuthDir;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 配置状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigFlatResponseDTOResult.php b/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigFlatResponseDTOResult.php
new file mode 100644
index 0000000..4417ba4
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigFlatResponseDTOResult.php
@@ -0,0 +1,347 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigAddWechatConfigFlatResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigAddWechatConfigFlatResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigAddWechatConfigFlatResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'status' => 'string',
+ 'configResult' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'status' => null,
+ 'configResult' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'status' => 'status',
+ 'configResult' => 'configResult',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'status' => 'setStatus',
+ 'configResult' => 'setConfigResult',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'status' => 'getStatus',
+ 'configResult' => 'getConfigResult',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['configResult'] = isset($data['configResult']) ? $data['configResult'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 受理状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets configResult
+ * @return string
+ */
+ public function getConfigResult()
+ {
+ return $this->container['configResult'];
+ }
+
+ /**
+ * Sets configResult
+ * @param string $configResult 配置结果
+ * @return $this
+ */
+ public function setConfigResult($configResult)
+ {
+ $this->container['configResult'] = $configResult;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigRequestDTOParam.php b/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigRequestDTOParam.php
new file mode 100644
index 0000000..d572222
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigRequestDTOParam.php
@@ -0,0 +1,375 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigAddWechatConfigRequestDTOParam Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @description 方法签名第0个参数,请自行修改arg0等参数的名字
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigAddWechatConfigRequestDTOParam implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigAddWechatConfigRequestDTOParam';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'appKey' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'tradeAuthDirList' => 'string[]',
+ 'appIdList' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddAppIdConfigDetailResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'appKey' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'tradeAuthDirList' => null,
+ 'appIdList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'appKey' => 'appKey',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'tradeAuthDirList' => 'tradeAuthDirList',
+ 'appIdList' => 'appIdList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'appKey' => 'setAppKey',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'tradeAuthDirList' => 'setTradeAuthDirList',
+ 'appIdList' => 'setAppIdList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'appKey' => 'getAppKey',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'tradeAuthDirList' => 'getTradeAuthDirList',
+ 'appIdList' => 'getAppIdList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['appKey'] = isset($data['appKey']) ? $data['appKey'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['tradeAuthDirList'] = isset($data['tradeAuthDirList']) ? $data['tradeAuthDirList'] : null;
+ $this->container['appIdList'] = isset($data['appIdList']) ? $data['appIdList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets appKey
+ * @return string
+ */
+ public function getAppKey()
+ {
+ return $this->container['appKey'];
+ }
+
+ /**
+ * Sets appKey
+ * @param string $appKey appKey
+ * @return $this
+ */
+ public function setAppKey($appKey)
+ {
+ $this->container['appKey'] = $appKey;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo parentMerchantNo
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo merchantNo
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets tradeAuthDirList
+ * @return string[]
+ */
+ public function getTradeAuthDirList()
+ {
+ return $this->container['tradeAuthDirList'];
+ }
+
+ /**
+ * Sets tradeAuthDirList
+ * @param string[] $tradeAuthDirList tradeAuthDirList
+ * @return $this
+ */
+ public function setTradeAuthDirList($tradeAuthDirList)
+ {
+ $this->container['tradeAuthDirList'] = $tradeAuthDirList;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdList
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddAppIdConfigDetailResult[]
+ */
+ public function getAppIdList()
+ {
+ return $this->container['appIdList'];
+ }
+
+ /**
+ * Sets appIdList
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddAppIdConfigDetailResult[] $appIdList appIdList
+ * @return $this
+ */
+ public function setAppIdList($appIdList)
+ {
+ $this->container['appIdList'] = $appIdList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigResponseDTOResult.php b/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigResponseDTOResult.php
new file mode 100644
index 0000000..62901a7
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigAddWechatConfigResponseDTOResult.php
@@ -0,0 +1,347 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigAddWechatConfigResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigAddWechatConfigResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigAddWechatConfigResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'status' => 'string',
+ 'configResult' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddConfigMerchantDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'status' => null,
+ 'configResult' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'status' => 'status',
+ 'configResult' => 'configResult',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'status' => 'setStatus',
+ 'configResult' => 'setConfigResult',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'status' => 'getStatus',
+ 'configResult' => 'getConfigResult',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['configResult'] = isset($data['configResult']) ? $data['configResult'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 受理状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets configResult
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddConfigMerchantDTOResult[]
+ */
+ public function getConfigResult()
+ {
+ return $this->container['configResult'];
+ }
+
+ /**
+ * Sets configResult
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigAddConfigMerchantDTOResult[] $configResult 配置结果
+ * @return $this
+ */
+ public function setConfigResult($configResult)
+ {
+ $this->container['configResult'] = $configResult;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigQuery0Request.php b/lib/Service/Aggpay/Model/WechatConfigQuery0Request.php
new file mode 100644
index 0000000..a269bc1
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQuery0Request.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return WechatConfigQuery0Request
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WechatConfigQuery0Request
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdType
+ * @return string
+ */
+ public function getAppIdType()
+ {
+ return $this->appIdType;
+ }
+
+ /**
+ * Sets appIdType
+ * @param string $appIdType
+ * @return WechatConfigQuery0Request
+ */
+ public function setAppIdType($appIdType)
+ {
+ $this->appIdType = $appIdType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'wechatConfigQuery_0';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigQuery0RequestMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigQuery0RequestMarshaller.php
new file mode 100644
index 0000000..7b3673c
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQuery0RequestMarshaller.php
@@ -0,0 +1,85 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WechatConfigQuery0RequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/WechatConfigQuery0Response.php b/lib/Service/Aggpay/Model/WechatConfigQuery0Response.php
new file mode 100644
index 0000000..426b048
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQuery0Response.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WechatConfigQueryWechatConfigFlatResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigQuery0ResponseUnMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigQuery0ResponseUnMarshaller.php
new file mode 100644
index 0000000..b4485b1
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQuery0ResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigQueryAppIdConfigDetailResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigQueryAppIdConfigDetailResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigQueryAppIdConfigDetailResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'appId' => 'string',
+ 'appSecret' => 'string',
+ 'appIdType' => 'string',
+ 'subscribeAppId' => 'string',
+ 'status' => 'string',
+ 'failReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'appId' => null,
+ 'appSecret' => null,
+ 'appIdType' => null,
+ 'subscribeAppId' => null,
+ 'status' => null,
+ 'failReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'appId' => 'appId',
+ 'appSecret' => 'appSecret',
+ 'appIdType' => 'appIdType',
+ 'subscribeAppId' => 'subscribeAppId',
+ 'status' => 'status',
+ 'failReason' => 'failReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'appId' => 'setAppId',
+ 'appSecret' => 'setAppSecret',
+ 'appIdType' => 'setAppIdType',
+ 'subscribeAppId' => 'setSubscribeAppId',
+ 'status' => 'setStatus',
+ 'failReason' => 'setFailReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'appId' => 'getAppId',
+ 'appSecret' => 'getAppSecret',
+ 'appIdType' => 'getAppIdType',
+ 'subscribeAppId' => 'getSubscribeAppId',
+ 'status' => 'getStatus',
+ 'failReason' => 'getFailReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['appId'] = isset($data['appId']) ? $data['appId'] : null;
+ $this->container['appSecret'] = isset($data['appSecret']) ? $data['appSecret'] : null;
+ $this->container['appIdType'] = isset($data['appIdType']) ? $data['appIdType'] : null;
+ $this->container['subscribeAppId'] = isset($data['subscribeAppId']) ? $data['subscribeAppId'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets appId
+ * @return string
+ */
+ public function getAppId()
+ {
+ return $this->container['appId'];
+ }
+
+ /**
+ * Sets appId
+ * @param string $appId 支付appId
+ * @return $this
+ */
+ public function setAppId($appId)
+ {
+ $this->container['appId'] = $appId;
+
+ return $this;
+ }
+
+ /**
+ * Gets appSecret
+ * @return string
+ */
+ public function getAppSecret()
+ {
+ return $this->container['appSecret'];
+ }
+
+ /**
+ * Sets appSecret
+ * @param string $appSecret 支付appSecret
+ * @return $this
+ */
+ public function setAppSecret($appSecret)
+ {
+ $this->container['appSecret'] = $appSecret;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdType
+ * @return string
+ */
+ public function getAppIdType()
+ {
+ return $this->container['appIdType'];
+ }
+
+ /**
+ * Sets appIdType
+ * @param string $appIdType appId类型
+ * @return $this
+ */
+ public function setAppIdType($appIdType)
+ {
+ $this->container['appIdType'] = $appIdType;
+
+ return $this;
+ }
+
+ /**
+ * Gets subscribeAppId
+ * @return string
+ */
+ public function getSubscribeAppId()
+ {
+ return $this->container['subscribeAppId'];
+ }
+
+ /**
+ * Sets subscribeAppId
+ * @param string $subscribeAppId 关注appId
+ * @return $this
+ */
+ public function setSubscribeAppId($subscribeAppId)
+ {
+ $this->container['subscribeAppId'] = $subscribeAppId;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 配置状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryConfigMerchantDTOResult.php b/lib/Service/Aggpay/Model/WechatConfigQueryConfigMerchantDTOResult.php
new file mode 100644
index 0000000..c6962b2
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryConfigMerchantDTOResult.php
@@ -0,0 +1,320 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigQueryConfigMerchantDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigQueryConfigMerchantDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigQueryConfigMerchantDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'reportMerchantNo' => 'string',
+ 'tradeAuthDirList' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryTradeAuthDirDTOResult[]',
+ 'appIdList' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryAppIdConfigDetailResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'reportMerchantNo' => null,
+ 'tradeAuthDirList' => null,
+ 'appIdList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'reportMerchantNo' => 'reportMerchantNo',
+ 'tradeAuthDirList' => 'tradeAuthDirList',
+ 'appIdList' => 'appIdList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'reportMerchantNo' => 'setReportMerchantNo',
+ 'tradeAuthDirList' => 'setTradeAuthDirList',
+ 'appIdList' => 'setAppIdList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'reportMerchantNo' => 'getReportMerchantNo',
+ 'tradeAuthDirList' => 'getTradeAuthDirList',
+ 'appIdList' => 'getAppIdList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['reportMerchantNo'] = isset($data['reportMerchantNo']) ? $data['reportMerchantNo'] : null;
+ $this->container['tradeAuthDirList'] = isset($data['tradeAuthDirList']) ? $data['tradeAuthDirList'] : null;
+ $this->container['appIdList'] = isset($data['appIdList']) ? $data['appIdList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets reportMerchantNo
+ * @return string
+ */
+ public function getReportMerchantNo()
+ {
+ return $this->container['reportMerchantNo'];
+ }
+
+ /**
+ * Sets reportMerchantNo
+ * @param string $reportMerchantNo 报备商户号
+ * @return $this
+ */
+ public function setReportMerchantNo($reportMerchantNo)
+ {
+ $this->container['reportMerchantNo'] = $reportMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets tradeAuthDirList
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryTradeAuthDirDTOResult[]
+ */
+ public function getTradeAuthDirList()
+ {
+ return $this->container['tradeAuthDirList'];
+ }
+
+ /**
+ * Sets tradeAuthDirList
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryTradeAuthDirDTOResult[] $tradeAuthDirList 支付授权目录列表
+ * @return $this
+ */
+ public function setTradeAuthDirList($tradeAuthDirList)
+ {
+ $this->container['tradeAuthDirList'] = $tradeAuthDirList;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdList
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryAppIdConfigDetailResult[]
+ */
+ public function getAppIdList()
+ {
+ return $this->container['appIdList'];
+ }
+
+ /**
+ * Sets appIdList
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryAppIdConfigDetailResult[] $appIdList 支付appId配置列表
+ * @return $this
+ */
+ public function setAppIdList($appIdList)
+ {
+ $this->container['appIdList'] = $appIdList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryRequest.php b/lib/Service/Aggpay/Model/WechatConfigQueryRequest.php
new file mode 100644
index 0000000..1a54978
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return WechatConfigQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return WechatConfigQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets appIdType
+ * @return string
+ */
+ public function getAppIdType()
+ {
+ return $this->appIdType;
+ }
+
+ /**
+ * Sets appIdType
+ * @param string $appIdType
+ * @return WechatConfigQueryRequest
+ */
+ public function setAppIdType($appIdType)
+ {
+ $this->appIdType = $appIdType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'wechatConfigQuery';
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryRequestMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigQueryRequestMarshaller.php
new file mode 100644
index 0000000..265f222
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+WechatConfigQueryRequestMarshaller::__init();
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryResponse.php b/lib/Service/Aggpay/Model/WechatConfigQueryResponse.php
new file mode 100644
index 0000000..f138049
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return WechatConfigQueryWechatConfigResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryResponseUnMarshaller.php b/lib/Service/Aggpay/Model/WechatConfigQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..df2349d
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigQueryTradeAuthDirDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigQueryTradeAuthDirDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigQueryTradeAuthDirDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'tradeAuthDir' => 'string',
+ 'status' => 'string',
+ 'failReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'tradeAuthDir' => null,
+ 'status' => null,
+ 'failReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'tradeAuthDir' => 'tradeAuthDir',
+ 'status' => 'status',
+ 'failReason' => 'failReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'tradeAuthDir' => 'setTradeAuthDir',
+ 'status' => 'setStatus',
+ 'failReason' => 'setFailReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'tradeAuthDir' => 'getTradeAuthDir',
+ 'status' => 'getStatus',
+ 'failReason' => 'getFailReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['tradeAuthDir'] = isset($data['tradeAuthDir']) ? $data['tradeAuthDir'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets tradeAuthDir
+ * @return string
+ */
+ public function getTradeAuthDir()
+ {
+ return $this->container['tradeAuthDir'];
+ }
+
+ /**
+ * Sets tradeAuthDir
+ * @param string $tradeAuthDir 支付授权目录
+ * @return $this
+ */
+ public function setTradeAuthDir($tradeAuthDir)
+ {
+ $this->container['tradeAuthDir'] = $tradeAuthDir;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 配置状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryWechatConfigFlatResponseDTOResult.php b/lib/Service/Aggpay/Model/WechatConfigQueryWechatConfigFlatResponseDTOResult.php
new file mode 100644
index 0000000..06f3f79
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryWechatConfigFlatResponseDTOResult.php
@@ -0,0 +1,347 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigQueryWechatConfigFlatResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigQueryWechatConfigFlatResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigQueryWechatConfigFlatResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'status' => 'string',
+ 'configResult' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'status' => null,
+ 'configResult' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'status' => 'status',
+ 'configResult' => 'configResult',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'status' => 'setStatus',
+ 'configResult' => 'setConfigResult',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'status' => 'getStatus',
+ 'configResult' => 'getConfigResult',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['configResult'] = isset($data['configResult']) ? $data['configResult'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 受理状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets configResult
+ * @return string
+ */
+ public function getConfigResult()
+ {
+ return $this->container['configResult'];
+ }
+
+ /**
+ * Sets configResult
+ * @param string $configResult 配置结果
+ * @return $this
+ */
+ public function setConfigResult($configResult)
+ {
+ $this->container['configResult'] = $configResult;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Aggpay/Model/WechatConfigQueryWechatConfigResponseDTOResult.php b/lib/Service/Aggpay/Model/WechatConfigQueryWechatConfigResponseDTOResult.php
new file mode 100644
index 0000000..31f6f4b
--- /dev/null
+++ b/lib/Service/Aggpay/Model/WechatConfigQueryWechatConfigResponseDTOResult.php
@@ -0,0 +1,347 @@
+提供聚合支付相关服务(支付下单、公众号配置等功能
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Aggpay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * WechatConfigQueryWechatConfigResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class WechatConfigQueryWechatConfigResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'WechatConfigQueryWechatConfigResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'status' => 'string',
+ 'configResult' => '\Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryConfigMerchantDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'status' => null,
+ 'configResult' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'status' => 'status',
+ 'configResult' => 'configResult',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'status' => 'setStatus',
+ 'configResult' => 'setConfigResult',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'status' => 'getStatus',
+ 'configResult' => 'getConfigResult',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['configResult'] = isset($data['configResult']) ? $data['configResult'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 受理状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets configResult
+ * @return \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryConfigMerchantDTOResult[]
+ */
+ public function getConfigResult()
+ {
+ return $this->container['configResult'];
+ }
+
+ /**
+ * Sets configResult
+ * @param \Yeepay\Yop\Sdk\Service\Aggpay\Model\WechatConfigQueryConfigMerchantDTOResult[] $configResult 配置结果
+ * @return $this
+ */
+ public function setConfigResult($configResult)
+ {
+ $this->container['configResult'] = $configResult;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Bill/BillClient.php b/lib/Service/Bill/BillClient.php
new file mode 100644
index 0000000..625eae8
--- /dev/null
+++ b/lib/Service/Bill/BillClient.php
@@ -0,0 +1,49 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\DownloadRequest $request
+ * @return YosDownloadResponse
+ * @throws YopClientException
+ */
+ public function download(Model\DownloadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getBizType() == null) {
+ throw new YopClientException("request.bizType is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\DownloadRequestMarshaller::getInstance(),
+ YosDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Bill/BillClientBuilder.php b/lib/Service/Bill/BillClientBuilder.php
new file mode 100644
index 0000000..0918d00
--- /dev/null
+++ b/lib/Service/Bill/BillClientBuilder.php
@@ -0,0 +1,70 @@
+register('download',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * BillClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new BillClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return BillClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new BillClientBuilder($clientParams);
+ }
+
+}
+
+BillClientBuilder::__init();
diff --git a/lib/Service/Bill/Model/DownloadRequest.php b/lib/Service/Bill/Model/DownloadRequest.php
new file mode 100644
index 0000000..887f6a7
--- /dev/null
+++ b/lib/Service/Bill/Model/DownloadRequest.php
@@ -0,0 +1,67 @@
+bizType;
+ }
+
+ /**
+ * Sets bizType
+ * @param string $bizType
+ * @return DownloadRequest
+ */
+ public function setBizType($bizType)
+ {
+ $this->bizType = $bizType;
+
+ return $this;
+ }
+
+ /**
+ * Gets billDate
+ * @return string
+ */
+ public function getBillDate()
+ {
+ return $this->billDate;
+ }
+
+ /**
+ * Sets billDate
+ * @param string $billDate
+ * @return DownloadRequest
+ */
+ public function setBillDate($billDate)
+ {
+ $this->billDate = $billDate;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'download';
+ }
+
+}
diff --git a/lib/Service/Bill/Model/DownloadRequestMarshaller.php b/lib/Service/Bill/Model/DownloadRequestMarshaller.php
new file mode 100644
index 0000000..615a603
--- /dev/null
+++ b/lib/Service/Bill/Model/DownloadRequestMarshaller.php
@@ -0,0 +1,77 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+DownloadRequestMarshaller::__init();
diff --git a/lib/Service/Cashier/CashierClient.php b/lib/Service/Cashier/CashierClient.php
new file mode 100644
index 0000000..4a39981
--- /dev/null
+++ b/lib/Service/Cashier/CashierClient.php
@@ -0,0 +1,44 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\PayLinkOrderRequest $request
+ * @return Model\PayLinkOrderResponse
+ * @throws YopClientException
+ */
+ public function payLinkOrder(Model\PayLinkOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\PayLinkOrderRequestMarshaller::getInstance(),
+ Model\PayLinkOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Cashier/CashierClientBuilder.php b/lib/Service/Cashier/CashierClientBuilder.php
new file mode 100644
index 0000000..0f486f3
--- /dev/null
+++ b/lib/Service/Cashier/CashierClientBuilder.php
@@ -0,0 +1,70 @@
+register('payLinkOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * CashierClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new CashierClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return CashierClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new CashierClientBuilder($clientParams);
+ }
+
+}
+
+CashierClientBuilder::__init();
diff --git a/lib/Service/Cashier/Model/PayLinkOrderAggregationPayLinkResponseDTOResult.php b/lib/Service/Cashier/Model/PayLinkOrderAggregationPayLinkResponseDTOResult.php
new file mode 100644
index 0000000..a11be74
--- /dev/null
+++ b/lib/Service/Cashier/Model/PayLinkOrderAggregationPayLinkResponseDTOResult.php
@@ -0,0 +1,428 @@
+ 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'qrCodeUrl' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'code' => 'string',
+ 'message' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'qrCodeUrl' => null,
+ 'uniqueOrderNo' => null,
+ 'code' => null,
+ 'message' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'qrCodeUrl' => 'qrCodeUrl',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'code' => 'code',
+ 'message' => 'message',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'qrCodeUrl' => 'setQrCodeUrl',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'qrCodeUrl' => 'getQrCodeUrl',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['qrCodeUrl'] = isset($data['qrCodeUrl']) ? $data['qrCodeUrl'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 收款商户商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets qrCodeUrl
+ * @return string
+ */
+ public function getQrCodeUrl()
+ {
+ return $this->container['qrCodeUrl'];
+ }
+
+ /**
+ * Sets qrCodeUrl
+ * @param string $qrCodeUrl 订单二维码地址
+ * @return $this
+ */
+ public function setQrCodeUrl($qrCodeUrl)
+ {
+ $this->container['qrCodeUrl'] = $qrCodeUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 接口返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Cashier/Model/PayLinkOrderRequest.php b/lib/Service/Cashier/Model/PayLinkOrderRequest.php
new file mode 100644
index 0000000..ed9f0ed
--- /dev/null
+++ b/lib/Service/Cashier/Model/PayLinkOrderRequest.php
@@ -0,0 +1,275 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return PayLinkOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return PayLinkOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return PayLinkOrderRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return PayLinkOrderRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount
+ * @return PayLinkOrderRequest
+ */
+ public function setAmount($amount)
+ {
+ $this->amount = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return PayLinkOrderRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return PayLinkOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets scene
+ * @return string
+ */
+ public function getScene()
+ {
+ return $this->scene;
+ }
+
+ /**
+ * Sets scene
+ * @param string $scene
+ * @return PayLinkOrderRequest
+ */
+ public function setScene($scene)
+ {
+ $this->scene = $scene;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return PayLinkOrderRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets appId
+ * @return string
+ */
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+
+ /**
+ * Sets appId
+ * @param string $appId
+ * @return PayLinkOrderRequest
+ */
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'payLinkOrder';
+ }
+
+}
diff --git a/lib/Service/Cashier/Model/PayLinkOrderRequestMarshaller.php b/lib/Service/Cashier/Model/PayLinkOrderRequestMarshaller.php
new file mode 100644
index 0000000..ceac870
--- /dev/null
+++ b/lib/Service/Cashier/Model/PayLinkOrderRequestMarshaller.php
@@ -0,0 +1,117 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getAmount() != null) {
+ $internalRequest->addParameter('amount',
+ ObjectSerializer::sanitizeForSerialization($request->getAmount(), 'float'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string', 'date-time'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getScene() != null) {
+ $internalRequest->addParameter('scene',
+ ObjectSerializer::sanitizeForSerialization($request->getScene(), 'string'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getAppId() != null) {
+ $internalRequest->addParameter('appId',
+ ObjectSerializer::sanitizeForSerialization($request->getAppId(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+PayLinkOrderRequestMarshaller::__init();
diff --git a/lib/Service/Cashier/Model/PayLinkOrderResponse.php b/lib/Service/Cashier/Model/PayLinkOrderResponse.php
new file mode 100644
index 0000000..79d7be6
--- /dev/null
+++ b/lib/Service/Cashier/Model/PayLinkOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return PayLinkOrderAggregationPayLinkResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Cashier/Model/PayLinkOrderResponseUnMarshaller.php b/lib/Service/Cashier/Model/PayLinkOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..183a396
--- /dev/null
+++ b/lib/Service/Cashier/Model/PayLinkOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\BankLimitQueryRequest $request
+ * @return Model\BankLimitQueryResponse
+ * @throws YopClientException
+ */
+ public function bankLimitQuery(Model\BankLimitQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BankLimitQueryRequestMarshaller::getInstance(),
+ Model\BankLimitQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Cnppay/CnppayClientBuilder.php b/lib/Service/Cnppay/CnppayClientBuilder.php
new file mode 100644
index 0000000..80ca645
--- /dev/null
+++ b/lib/Service/Cnppay/CnppayClientBuilder.php
@@ -0,0 +1,70 @@
+register('bankLimitQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * CnppayClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new CnppayClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return CnppayClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new CnppayClientBuilder($clientParams);
+ }
+
+}
+
+CnppayClientBuilder::__init();
diff --git a/lib/Service/Cnppay/Model/BankLimitQueryBankLimitInfoDTOResult.php b/lib/Service/Cnppay/Model/BankLimitQueryBankLimitInfoDTOResult.php
new file mode 100644
index 0000000..835bdba
--- /dev/null
+++ b/lib/Service/Cnppay/Model/BankLimitQueryBankLimitInfoDTOResult.php
@@ -0,0 +1,405 @@
+ 'string',
+ 'limitOfBill' => 'int',
+ 'limitOfDay' => 'int',
+ 'limitOfMonth' => 'int',
+ 'timesOfDay' => 'int',
+ 'timesOfMonth' => 'int',
+ 'limitMinOfBill' => 'int',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'bankId' => null,
+ 'limitOfBill' => 'int64',
+ 'limitOfDay' => 'int64',
+ 'limitOfMonth' => 'int64',
+ 'timesOfDay' => 'int64',
+ 'timesOfMonth' => 'int64',
+ 'limitMinOfBill' => 'int64',
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'bankId' => 'bankId',
+ 'limitOfBill' => 'limitOfBill',
+ 'limitOfDay' => 'limitOfDay',
+ 'limitOfMonth' => 'limitOfMonth',
+ 'timesOfDay' => 'timesOfDay',
+ 'timesOfMonth' => 'timesOfMonth',
+ 'limitMinOfBill' => 'limitMinOfBill',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'bankId' => 'setBankId',
+ 'limitOfBill' => 'setLimitOfBill',
+ 'limitOfDay' => 'setLimitOfDay',
+ 'limitOfMonth' => 'setLimitOfMonth',
+ 'timesOfDay' => 'setTimesOfDay',
+ 'timesOfMonth' => 'setTimesOfMonth',
+ 'limitMinOfBill' => 'setLimitMinOfBill',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'bankId' => 'getBankId',
+ 'limitOfBill' => 'getLimitOfBill',
+ 'limitOfDay' => 'getLimitOfDay',
+ 'limitOfMonth' => 'getLimitOfMonth',
+ 'timesOfDay' => 'getTimesOfDay',
+ 'timesOfMonth' => 'getTimesOfMonth',
+ 'limitMinOfBill' => 'getLimitMinOfBill',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['bankId'] = isset($data['bankId']) ? $data['bankId'] : null;
+ $this->container['limitOfBill'] = isset($data['limitOfBill']) ? $data['limitOfBill'] : null;
+ $this->container['limitOfDay'] = isset($data['limitOfDay']) ? $data['limitOfDay'] : null;
+ $this->container['limitOfMonth'] = isset($data['limitOfMonth']) ? $data['limitOfMonth'] : null;
+ $this->container['timesOfDay'] = isset($data['timesOfDay']) ? $data['timesOfDay'] : null;
+ $this->container['timesOfMonth'] = isset($data['timesOfMonth']) ? $data['timesOfMonth'] : null;
+ $this->container['limitMinOfBill'] = isset($data['limitMinOfBill']) ? $data['limitMinOfBill'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets bankId
+ * @return string
+ */
+ public function getBankId()
+ {
+ return $this->container['bankId'];
+ }
+
+ /**
+ * Sets bankId
+ * @param string $bankId 银行编码
+ * @return $this
+ */
+ public function setBankId($bankId)
+ {
+ $this->container['bankId'] = $bankId;
+
+ return $this;
+ }
+
+ /**
+ * Gets limitOfBill
+ * @return int
+ */
+ public function getLimitOfBill()
+ {
+ return $this->container['limitOfBill'];
+ }
+
+ /**
+ * Sets limitOfBill
+ * @param int $limitOfBill 单笔限额
+ * @return $this
+ */
+ public function setLimitOfBill($limitOfBill)
+ {
+ $this->container['limitOfBill'] = $limitOfBill;
+
+ return $this;
+ }
+
+ /**
+ * Gets limitOfDay
+ * @return int
+ */
+ public function getLimitOfDay()
+ {
+ return $this->container['limitOfDay'];
+ }
+
+ /**
+ * Sets limitOfDay
+ * @param int $limitOfDay 单日限额
+ * @return $this
+ */
+ public function setLimitOfDay($limitOfDay)
+ {
+ $this->container['limitOfDay'] = $limitOfDay;
+
+ return $this;
+ }
+
+ /**
+ * Gets limitOfMonth
+ * @return int
+ */
+ public function getLimitOfMonth()
+ {
+ return $this->container['limitOfMonth'];
+ }
+
+ /**
+ * Sets limitOfMonth
+ * @param int $limitOfMonth 单月限额
+ * @return $this
+ */
+ public function setLimitOfMonth($limitOfMonth)
+ {
+ $this->container['limitOfMonth'] = $limitOfMonth;
+
+ return $this;
+ }
+
+ /**
+ * Gets timesOfDay
+ * @return int
+ */
+ public function getTimesOfDay()
+ {
+ return $this->container['timesOfDay'];
+ }
+
+ /**
+ * Sets timesOfDay
+ * @param int $timesOfDay 单日限次
+ * @return $this
+ */
+ public function setTimesOfDay($timesOfDay)
+ {
+ $this->container['timesOfDay'] = $timesOfDay;
+
+ return $this;
+ }
+
+ /**
+ * Gets timesOfMonth
+ * @return int
+ */
+ public function getTimesOfMonth()
+ {
+ return $this->container['timesOfMonth'];
+ }
+
+ /**
+ * Sets timesOfMonth
+ * @param int $timesOfMonth 单月限次
+ * @return $this
+ */
+ public function setTimesOfMonth($timesOfMonth)
+ {
+ $this->container['timesOfMonth'] = $timesOfMonth;
+
+ return $this;
+ }
+
+ /**
+ * Gets limitMinOfBill
+ * @return int
+ */
+ public function getLimitMinOfBill()
+ {
+ return $this->container['limitMinOfBill'];
+ }
+
+ /**
+ * Sets limitMinOfBill
+ * @param int $limitMinOfBill 单笔最小限额
+ * @return $this
+ */
+ public function setLimitMinOfBill($limitMinOfBill)
+ {
+ $this->container['limitMinOfBill'] = $limitMinOfBill;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Cnppay/Model/BankLimitQueryBankLimitResponseDTOResult.php b/lib/Service/Cnppay/Model/BankLimitQueryBankLimitResponseDTOResult.php
new file mode 100644
index 0000000..e3cd77d
--- /dev/null
+++ b/lib/Service/Cnppay/Model/BankLimitQueryBankLimitResponseDTOResult.php
@@ -0,0 +1,297 @@
+ 'string',
+ 'message' => 'string',
+ 'bankLimitInfo' => '\Yeepay\Yop\Sdk\Service\Cnppay\Model\BankLimitQueryBankLimitInfoDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bankLimitInfo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bankLimitInfo' => 'bankLimitInfo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bankLimitInfo' => 'setBankLimitInfo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bankLimitInfo' => 'getBankLimitInfo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bankLimitInfo'] = isset($data['bankLimitInfo']) ? $data['bankLimitInfo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankLimitInfo
+ * @return \Yeepay\Yop\Sdk\Service\Cnppay\Model\BankLimitQueryBankLimitInfoDTOResult[]
+ */
+ public function getBankLimitInfo()
+ {
+ return $this->container['bankLimitInfo'];
+ }
+
+ /**
+ * Sets bankLimitInfo
+ * @param \Yeepay\Yop\Sdk\Service\Cnppay\Model\BankLimitQueryBankLimitInfoDTOResult[] $bankLimitInfo 银行限额信息
+ * @return $this
+ */
+ public function setBankLimitInfo($bankLimitInfo)
+ {
+ $this->container['bankLimitInfo'] = $bankLimitInfo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Cnppay/Model/BankLimitQueryRequest.php b/lib/Service/Cnppay/Model/BankLimitQueryRequest.php
new file mode 100644
index 0000000..91f5bfc
--- /dev/null
+++ b/lib/Service/Cnppay/Model/BankLimitQueryRequest.php
@@ -0,0 +1,41 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BankLimitQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bankLimitQuery';
+ }
+
+}
diff --git a/lib/Service/Cnppay/Model/BankLimitQueryRequestMarshaller.php b/lib/Service/Cnppay/Model/BankLimitQueryRequestMarshaller.php
new file mode 100644
index 0000000..bdb65d5
--- /dev/null
+++ b/lib/Service/Cnppay/Model/BankLimitQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BankLimitQueryRequestMarshaller::__init();
diff --git a/lib/Service/Cnppay/Model/BankLimitQueryResponse.php b/lib/Service/Cnppay/Model/BankLimitQueryResponse.php
new file mode 100644
index 0000000..b396301
--- /dev/null
+++ b/lib/Service/Cnppay/Model/BankLimitQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BankLimitQueryBankLimitResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Cnppay/Model/BankLimitQueryResponseUnMarshaller.php b/lib/Service/Cnppay/Model/BankLimitQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..9b47a67
--- /dev/null
+++ b/lib/Service/Cnppay/Model/BankLimitQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+apiUri = $apiUri;
+ $this->method = $method;
+ }
+
+ /**
+ * @return string
+ */
+ public function getApiUri()
+ {
+ return $this->apiUri;
+ }
+
+ /**
+ * @return string
+ */
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ /**
+ * @return array
+ */
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+
+ /**
+ * @param array $parameters
+ * @return YopRequest
+ */
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+
+ return $this;
+ }
+
+ /**
+ * @param string $name
+ * @param array $values
+ * @return YopRequest
+ */
+ public function addParameters($name, array $values)
+ {
+ $this->parameters[$name] = $values;
+
+ return $this;
+ }
+
+ /**
+ * @param string $name
+ * @param mixed $value
+ * @return YopRequest
+ */
+ public function addParameter($name, $value)
+ {
+ if (isset($this->parameters[$name])) {
+ $values = $this->parameters[$name];
+ $values[] = $value;
+ } else {
+ $this->parameters[$name] = [$value];
+ }
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getMultipartFiles()
+ {
+ return $this->multipartFiles;
+ }
+
+ /**
+ * @param string $name
+ * @param string|resource $file
+ * @return YopRequest
+ */
+ public function addMultiPartFile($name, $file)
+ {
+ if (isset($this->multipartFiles[$name])) {
+ $values = $this->multipartFiles[$name];
+ $values[] = $file;
+ } else {
+ $this->multipartFiles[$name] = [$file];
+ }
+
+ return $this;
+ }
+
+ /**
+ * @return resource|string
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ /**
+ * @param resource|string $content
+ * @return YopRequest
+ */
+ public function setContent($content)
+ {
+ $this->content = $content;
+
+ return $this;
+ }
+
+}
diff --git a/lib/Service/Common/Model/YopRequestMarshaller.php b/lib/Service/Common/Model/YopRequestMarshaller.php
new file mode 100644
index 0000000..9308a38
--- /dev/null
+++ b/lib/Service/Common/Model/YopRequestMarshaller.php
@@ -0,0 +1,78 @@
+getApiUri());
+ $result = new DefaultRequest($parts[3]);
+ $result->setResourcePath($request->getApiUri());
+ $result->setHttpMethod($request->getMethod());
+ if ($parts[1] == 'yos') {
+ $result->setYosFlag(true);
+ }
+ if (!empty($request->getMultipartFiles())) {
+ foreach ($request->getMultipartFiles() as $key => $values) {
+ foreach ($values as $value) {
+ $result->addMultiPartFile($key, $value);
+ }
+ }
+ if (!empty($request->getParameters())) {
+ $result->setParameters($this->marshalParameters($request->getParameters()));
+ }
+
+ return $result;
+ }
+ if (!empty($request->getParameters())) {
+ $result->setParameters($this->marshalParameters($request->getParameters()));
+ $result->addHeader(Headers::CONTENT_TYPE, ContentType::APPLICATION_FORM_URLENCODED);
+
+ return $result;
+ }
+ if (!empty($request->getContent())) {
+ if (is_string($request->getContent())) {
+ $result->addHeader(Headers::CONTENT_TYPE, ContentType::APPLICATION_JSON);
+ } else {
+ $result->addHeader(Headers::CONTENT_TYPE, ContentType::APPLICATION_OCTET_STREAM);
+ }
+ $result->setContent(\GuzzleHttp\Psr7\stream_for($request->getContent()));
+
+ return $result;
+ }
+ throw new YopClientException("empty request");
+ }
+
+ /**
+ * @param array $parameters
+ * @return array
+ */
+ private function marshalParameters(array $parameters)
+ {
+ $targetParameters = [];
+ foreach ($parameters as $key => $values) {
+ $targetValues = [];
+ foreach ($values as $value) {
+ $targetValues[] = strval($value);
+ }
+ $targetParameters[$key] = $targetValues;
+ }
+
+ return $targetParameters;
+ }
+
+}
diff --git a/lib/Service/Common/Model/YopResponse.php b/lib/Service/Common/Model/YopResponse.php
new file mode 100644
index 0000000..1f75a5e
--- /dev/null
+++ b/lib/Service/Common/Model/YopResponse.php
@@ -0,0 +1,36 @@
+data = $result;
+ }
+
+ /**
+ * @return array
+ */
+ public function getResult()
+ {
+ return $this->data;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Service/Common/Model/YopResponseUnMarshaller.php b/lib/Service/Common/Model/YopResponseUnMarshaller.php
new file mode 100644
index 0000000..aa19082
--- /dev/null
+++ b/lib/Service/Common/Model/YopResponseUnMarshaller.php
@@ -0,0 +1,19 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param YopRequest $request
+ * @return YopResponse
+ * @throws YopClientException
+ */
+ public function sendRequest(YopRequest $request)
+ {
+ $clientExecutionParams = new ClientExecutionParams($request, new YopRequestMarshaller(),
+ new YopResponseUnMarshaller());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param YopRequest $request
+ * @return YosDownloadResponse
+ * @throws YopClientException
+ */
+ public function sendDownloadRequest(YopRequest $request)
+ {
+ $clientExecutionParams = new ClientExecutionParams($request, new YopRequestMarshaller(),
+ new YosDownloadResponseUnMarshaller());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Service/Common/YopClientBuilder.php b/lib/Service/Common/YopClientBuilder.php
new file mode 100644
index 0000000..c25963e
--- /dev/null
+++ b/lib/Service/Common/YopClientBuilder.php
@@ -0,0 +1,64 @@
+clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new YopClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return YopClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new YopClientBuilder($clientParams);
+ }
+
+}
+
+YopClientBuilder::__init();
+
diff --git a/lib/Service/Divide/DivideClient.php b/lib/Service/Divide/DivideClient.php
new file mode 100644
index 0000000..b197e4e
--- /dev/null
+++ b/lib/Service/Divide/DivideClient.php
@@ -0,0 +1,234 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\ApplyRequest $request
+ * @return Model\ApplyResponse
+ * @throws YopClientException
+ */
+ public function apply(Model\ApplyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\ApplyRequestMarshaller::getInstance(),
+ Model\ApplyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BackRequest $request
+ * @return Model\BackResponse
+ * @throws YopClientException
+ */
+ public function back(Model\BackRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\BackRequestMarshaller::getInstance(),
+ Model\BackResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BackQueryRequest $request
+ * @return Model\BackQueryResponse
+ * @throws YopClientException
+ */
+ public function backQuery(Model\BackQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ if ($request->getUniqueOrderNo() == null) {
+ throw new YopClientException("request.uniqueOrderNo is required.");
+ }
+ if ($request->getDivideBackRequestId() == null) {
+ throw new YopClientException("request.divideBackRequestId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\BackQueryRequestMarshaller::getInstance(),
+ Model\BackQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\CompleteRequest $request
+ * @return Model\CompleteResponse
+ * @throws YopClientException
+ */
+ public function complete(Model\CompleteRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\CompleteRequestMarshaller::getInstance(),
+ Model\CompleteResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\DivideRequest $request
+ * @return Model\DivideResponse
+ * @throws YopClientException
+ */
+ public function divide(Model\DivideRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\DivideRequestMarshaller::getInstance(),
+ Model\DivideResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\DividebackRequest $request
+ * @return Model\DividebackResponse
+ * @throws YopClientException
+ */
+ public function divideback(Model\DividebackRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\DividebackRequestMarshaller::getInstance(),
+ Model\DividebackResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\DividebackQueryRequest $request
+ * @return Model\DividebackQueryResponse
+ * @throws YopClientException
+ */
+ public function dividebackQuery(Model\DividebackQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ if ($request->getUniqueOrderNo() == null) {
+ throw new YopClientException("request.uniqueOrderNo is required.");
+ }
+ if ($request->getDivideBackRequestId() == null) {
+ throw new YopClientException("request.divideBackRequestId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\DividebackQueryRequestMarshaller::getInstance(),
+ Model\DividebackQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\QueryRequest $request
+ * @return Model\QueryResponse
+ * @throws YopClientException
+ */
+ public function query(Model\QueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getDivideRequestId() == null) {
+ throw new YopClientException("request.divideRequestId is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ if ($request->getUniqueOrderNo() == null) {
+ throw new YopClientException("request.uniqueOrderNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\QueryRequestMarshaller::getInstance(),
+ Model\QueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ReceiptDownloadRequest $request
+ * @return Model\ReceiptDownloadResponse
+ * @throws YopClientException
+ */
+ public function receiptDownload(Model\ReceiptDownloadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getUniqueOrderNo() == null) {
+ throw new YopClientException("request.uniqueOrderNo is required.");
+ }
+ if ($request->getDivideRequestId() == null) {
+ throw new YopClientException("request.divideRequestId is required.");
+ }
+ if ($request->getLedgerNo() == null) {
+ throw new YopClientException("request.ledgerNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\ReceiptDownloadRequestMarshaller::getInstance(),
+ Model\ReceiptDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Divide/DivideClientBuilder.php b/lib/Service/Divide/DivideClientBuilder.php
new file mode 100644
index 0000000..6c2624d
--- /dev/null
+++ b/lib/Service/Divide/DivideClientBuilder.php
@@ -0,0 +1,86 @@
+register('apply',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('back',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('backQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('complete',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('divide',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('divideback',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('dividebackQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('query',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('receiptDownload',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * DivideClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new DivideClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return DivideClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new DivideClientBuilder($clientParams);
+ }
+
+}
+
+DivideClientBuilder::__init();
diff --git a/lib/Service/Divide/Model/ApplyRequest.php b/lib/Service/Divide/Model/ApplyRequest.php
new file mode 100644
index 0000000..cb8edf3
--- /dev/null
+++ b/lib/Service/Divide/Model/ApplyRequest.php
@@ -0,0 +1,197 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ApplyRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return ApplyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return ApplyRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return ApplyRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return ApplyRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetail
+ * @return string
+ */
+ public function getDivideDetail()
+ {
+ return $this->divideDetail;
+ }
+
+ /**
+ * Sets divideDetail
+ * @param string $divideDetail
+ * @return ApplyRequest
+ */
+ public function setDivideDetail($divideDetail)
+ {
+ $this->divideDetail = $divideDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountLinkInfo
+ * @return string
+ */
+ public function getAccountLinkInfo()
+ {
+ return $this->accountLinkInfo;
+ }
+
+ /**
+ * Sets accountLinkInfo
+ * @param string $accountLinkInfo
+ * @return ApplyRequest
+ */
+ public function setAccountLinkInfo($accountLinkInfo)
+ {
+ $this->accountLinkInfo = $accountLinkInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'apply';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/ApplyRequestMarshaller.php b/lib/Service/Divide/Model/ApplyRequestMarshaller.php
new file mode 100644
index 0000000..ab7c7dd
--- /dev/null
+++ b/lib/Service/Divide/Model/ApplyRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getDivideRequestId() != null) {
+ $internalRequest->addParameter('divideRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideRequestId(), 'string'));
+ }
+ if ($request->getDivideDetail() != null) {
+ $internalRequest->addParameter('divideDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideDetail(), 'string'));
+ }
+ if ($request->getAccountLinkInfo() != null) {
+ $internalRequest->addParameter('accountLinkInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountLinkInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ApplyRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/ApplyResponse.php b/lib/Service/Divide/Model/ApplyResponse.php
new file mode 100644
index 0000000..54db865
--- /dev/null
+++ b/lib/Service/Divide/Model/ApplyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ApplyYopOrderDivideResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/ApplyResponseUnMarshaller.php b/lib/Service/Divide/Model/ApplyResponseUnMarshaller.php
new file mode 100644
index 0000000..bff85f5
--- /dev/null
+++ b/lib/Service/Divide/Model/ApplyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * ApplyYopOrderDivideResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class ApplyYopOrderDivideResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'ApplyYopOrderDivideResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'status' => 'string',
+ 'divideDetail' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'status' => null,
+ 'divideDetail' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'status' => 'status',
+ 'divideDetail' => 'divideDetail',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'status' => 'setStatus',
+ 'divideDetail' => 'setDivideDetail',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'status' => 'getStatus',
+ 'divideDetail' => 'getDivideDetail',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['divideDetail'] = isset($data['divideDetail']) ? $data['divideDetail'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetail
+ * @return string
+ */
+ public function getDivideDetail()
+ {
+ return $this->container['divideDetail'];
+ }
+
+ /**
+ * Sets divideDetail
+ * @param string $divideDetail 分账详情
+ * @return $this
+ */
+ public function setDivideDetail($divideDetail)
+ {
+ $this->container['divideDetail'] = $divideDetail;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/BackQueryRequest.php b/lib/Service/Divide/Model/BackQueryRequest.php
new file mode 100644
index 0000000..2d8b8e2
--- /dev/null
+++ b/lib/Service/Divide/Model/BackQueryRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BackQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BackQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return BackQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return BackQueryRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->divideBackRequestId;
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId
+ * @return BackQueryRequest
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->divideBackRequestId = $divideBackRequestId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'backQuery';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/BackQueryRequestMarshaller.php b/lib/Service/Divide/Model/BackQueryRequestMarshaller.php
new file mode 100644
index 0000000..21eeb72
--- /dev/null
+++ b/lib/Service/Divide/Model/BackQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BackQueryRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/BackQueryResponse.php b/lib/Service/Divide/Model/BackQueryResponse.php
new file mode 100644
index 0000000..5637552
--- /dev/null
+++ b/lib/Service/Divide/Model/BackQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BackQueryYopQueryDivideBackResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/BackQueryResponseUnMarshaller.php b/lib/Service/Divide/Model/BackQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..79d3cbd
--- /dev/null
+++ b/lib/Service/Divide/Model/BackQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BackQueryYopQueryDivideBackResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BackQueryYopQueryDivideBackResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BackQueryYopQueryDivideBackResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'divideBackRequestId' => 'string',
+ 'uniqueDivideBackNo' => 'string',
+ 'divideBackDetail' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'divideBackRequestId' => null,
+ 'uniqueDivideBackNo' => null,
+ 'divideBackDetail' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'divideBackRequestId' => 'divideBackRequestId',
+ 'uniqueDivideBackNo' => 'uniqueDivideBackNo',
+ 'divideBackDetail' => 'divideBackDetail',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'divideBackRequestId' => 'setDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'setUniqueDivideBackNo',
+ 'divideBackDetail' => 'setDivideBackDetail',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'divideBackRequestId' => 'getDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'getUniqueDivideBackNo',
+ 'divideBackDetail' => 'getDivideBackDetail',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['divideBackRequestId'] = isset($data['divideBackRequestId']) ? $data['divideBackRequestId'] : null;
+ $this->container['uniqueDivideBackNo'] = isset($data['uniqueDivideBackNo']) ? $data['uniqueDivideBackNo'] : null;
+ $this->container['divideBackDetail'] = isset($data['divideBackDetail']) ? $data['divideBackDetail'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 业务方标识
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->container['divideBackRequestId'];
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId 商户分账资金归还请求号
+ * @return $this
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->container['divideBackRequestId'] = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueDivideBackNo
+ * @return string
+ */
+ public function getUniqueDivideBackNo()
+ {
+ return $this->container['uniqueDivideBackNo'];
+ }
+
+ /**
+ * Sets uniqueDivideBackNo
+ * @param string $uniqueDivideBackNo 易宝分账资金归还订单号
+ * @return $this
+ */
+ public function setUniqueDivideBackNo($uniqueDivideBackNo)
+ {
+ $this->container['uniqueDivideBackNo'] = $uniqueDivideBackNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->container['divideBackDetail'];
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail 分账资金归还详情
+ * @return $this
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->container['divideBackDetail'] = $divideBackDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账资金归还状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/BackRequest.php b/lib/Service/Divide/Model/BackRequest.php
new file mode 100644
index 0000000..5b7dcac
--- /dev/null
+++ b/lib/Service/Divide/Model/BackRequest.php
@@ -0,0 +1,197 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BackRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BackRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->divideBackRequestId;
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId
+ * @return BackRequest
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->divideBackRequestId = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return BackRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return BackRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return BackRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->divideBackDetail;
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail
+ * @return BackRequest
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->divideBackDetail = $divideBackDetail;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'back';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/BackRequestMarshaller.php b/lib/Service/Divide/Model/BackRequestMarshaller.php
new file mode 100644
index 0000000..ab6492a
--- /dev/null
+++ b/lib/Service/Divide/Model/BackRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getDivideBackRequestId() != null) {
+ $internalRequest->addParameter('divideBackRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideBackRequestId(), 'string'));
+ }
+ if ($request->getDivideRequestId() != null) {
+ $internalRequest->addParameter('divideRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideRequestId(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getDivideBackDetail() != null) {
+ $internalRequest->addParameter('divideBackDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideBackDetail(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BackRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/BackResponse.php b/lib/Service/Divide/Model/BackResponse.php
new file mode 100644
index 0000000..46cfafd
--- /dev/null
+++ b/lib/Service/Divide/Model/BackResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BackYopDivideBackResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/BackResponseUnMarshaller.php b/lib/Service/Divide/Model/BackResponseUnMarshaller.php
new file mode 100644
index 0000000..ffa1215
--- /dev/null
+++ b/lib/Service/Divide/Model/BackResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BackYopDivideBackResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BackYopDivideBackResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BackYopDivideBackResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'divideBackRequestId' => 'string',
+ 'uniqueDivideBackNo' => 'string',
+ 'divideBackDetail' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'divideBackRequestId' => null,
+ 'uniqueDivideBackNo' => null,
+ 'divideBackDetail' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'divideBackRequestId' => 'divideBackRequestId',
+ 'uniqueDivideBackNo' => 'uniqueDivideBackNo',
+ 'divideBackDetail' => 'divideBackDetail',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'divideBackRequestId' => 'setDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'setUniqueDivideBackNo',
+ 'divideBackDetail' => 'setDivideBackDetail',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'divideBackRequestId' => 'getDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'getUniqueDivideBackNo',
+ 'divideBackDetail' => 'getDivideBackDetail',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['divideBackRequestId'] = isset($data['divideBackRequestId']) ? $data['divideBackRequestId'] : null;
+ $this->container['uniqueDivideBackNo'] = isset($data['uniqueDivideBackNo']) ? $data['uniqueDivideBackNo'] : null;
+ $this->container['divideBackDetail'] = isset($data['divideBackDetail']) ? $data['divideBackDetail'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 业务方标识
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->container['divideBackRequestId'];
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId 商户分账资金归还请求号
+ * @return $this
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->container['divideBackRequestId'] = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueDivideBackNo
+ * @return string
+ */
+ public function getUniqueDivideBackNo()
+ {
+ return $this->container['uniqueDivideBackNo'];
+ }
+
+ /**
+ * Sets uniqueDivideBackNo
+ * @param string $uniqueDivideBackNo 易宝分账资金归还订单号
+ * @return $this
+ */
+ public function setUniqueDivideBackNo($uniqueDivideBackNo)
+ {
+ $this->container['uniqueDivideBackNo'] = $uniqueDivideBackNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->container['divideBackDetail'];
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail 分账资金归还明细
+ * @return $this
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->container['divideBackDetail'] = $divideBackDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账资金归还状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/CompleteRequest.php b/lib/Service/Divide/Model/CompleteRequest.php
new file mode 100644
index 0000000..090b25f
--- /dev/null
+++ b/lib/Service/Divide/Model/CompleteRequest.php
@@ -0,0 +1,171 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return CompleteRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return CompleteRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return CompleteRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return CompleteRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return CompleteRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetailDesc
+ * @return string
+ */
+ public function getDivideDetailDesc()
+ {
+ return $this->divideDetailDesc;
+ }
+
+ /**
+ * Sets divideDetailDesc
+ * @param string $divideDetailDesc
+ * @return CompleteRequest
+ */
+ public function setDivideDetailDesc($divideDetailDesc)
+ {
+ $this->divideDetailDesc = $divideDetailDesc;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'complete';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/CompleteRequestMarshaller.php b/lib/Service/Divide/Model/CompleteRequestMarshaller.php
new file mode 100644
index 0000000..3431fa7
--- /dev/null
+++ b/lib/Service/Divide/Model/CompleteRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getDivideRequestId() != null) {
+ $internalRequest->addParameter('divideRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideRequestId(), 'string'));
+ }
+ if ($request->getDivideDetailDesc() != null) {
+ $internalRequest->addParameter('divideDetailDesc',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideDetailDesc(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+CompleteRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/CompleteResponse.php b/lib/Service/Divide/Model/CompleteResponse.php
new file mode 100644
index 0000000..fad3560
--- /dev/null
+++ b/lib/Service/Divide/Model/CompleteResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return CompleteYopOrderEndDivideResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/CompleteResponseUnMarshaller.php b/lib/Service/Divide/Model/CompleteResponseUnMarshaller.php
new file mode 100644
index 0000000..25c3a74
--- /dev/null
+++ b/lib/Service/Divide/Model/CompleteResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * CompleteYopOrderEndDivideResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class CompleteYopOrderEndDivideResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'CompleteYopOrderEndDivideResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'divideStatus' => 'string',
+ 'amount' => 'float',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'divideStatus' => null,
+ 'amount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'divideStatus' => 'divideStatus',
+ 'amount' => 'amount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'divideStatus' => 'setDivideStatus',
+ 'amount' => 'setAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'divideStatus' => 'getDivideStatus',
+ 'amount' => 'getAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['divideStatus'] = isset($data['divideStatus']) ? $data['divideStatus'] : null;
+ $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideStatus
+ * @return string
+ */
+ public function getDivideStatus()
+ {
+ return $this->container['divideStatus'];
+ }
+
+ /**
+ * Sets divideStatus
+ * @param string $divideStatus 分账状态
+ * @return $this
+ */
+ public function setDivideStatus($divideStatus)
+ {
+ $this->container['divideStatus'] = $divideStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->container['amount'];
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount 分账金额
+ * @return $this
+ */
+ public function setAmount($amount)
+ {
+ $this->container['amount'] = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/DivideRequest.php b/lib/Service/Divide/Model/DivideRequest.php
new file mode 100644
index 0000000..180e725
--- /dev/null
+++ b/lib/Service/Divide/Model/DivideRequest.php
@@ -0,0 +1,171 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return DivideRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return DivideRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return DivideRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return DivideRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return DivideRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetail
+ * @return string
+ */
+ public function getDivideDetail()
+ {
+ return $this->divideDetail;
+ }
+
+ /**
+ * Sets divideDetail
+ * @param string $divideDetail
+ * @return DivideRequest
+ */
+ public function setDivideDetail($divideDetail)
+ {
+ $this->divideDetail = $divideDetail;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'divide';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/DivideRequestMarshaller.php b/lib/Service/Divide/Model/DivideRequestMarshaller.php
new file mode 100644
index 0000000..cd0cf7a
--- /dev/null
+++ b/lib/Service/Divide/Model/DivideRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getDivideRequestId() != null) {
+ $internalRequest->addParameter('divideRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideRequestId(), 'string'));
+ }
+ if ($request->getDivideDetail() != null) {
+ $internalRequest->addParameter('divideDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideDetail(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+DivideRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/DivideResponse.php b/lib/Service/Divide/Model/DivideResponse.php
new file mode 100644
index 0000000..7a1ddf3
--- /dev/null
+++ b/lib/Service/Divide/Model/DivideResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return DivideYopOrderDivideResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/DivideResponseUnMarshaller.php b/lib/Service/Divide/Model/DivideResponseUnMarshaller.php
new file mode 100644
index 0000000..aac5201
--- /dev/null
+++ b/lib/Service/Divide/Model/DivideResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * DivideYopOrderDivideResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class DivideYopOrderDivideResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'DivideYopOrderDivideResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'status' => 'string',
+ 'divideDetail' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'status' => null,
+ 'divideDetail' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'status' => 'status',
+ 'divideDetail' => 'divideDetail',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'status' => 'setStatus',
+ 'divideDetail' => 'setDivideDetail',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'status' => 'getStatus',
+ 'divideDetail' => 'getDivideDetail',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['divideDetail'] = isset($data['divideDetail']) ? $data['divideDetail'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetail
+ * @return string
+ */
+ public function getDivideDetail()
+ {
+ return $this->container['divideDetail'];
+ }
+
+ /**
+ * Sets divideDetail
+ * @param string $divideDetail 分账详情
+ * @return $this
+ */
+ public function setDivideDetail($divideDetail)
+ {
+ $this->container['divideDetail'] = $divideDetail;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/DividebackQueryRequest.php b/lib/Service/Divide/Model/DividebackQueryRequest.php
new file mode 100644
index 0000000..5936329
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackQueryRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return DividebackQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return DividebackQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return DividebackQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return DividebackQueryRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->divideBackRequestId;
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId
+ * @return DividebackQueryRequest
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->divideBackRequestId = $divideBackRequestId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'dividebackQuery';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/DividebackQueryRequestMarshaller.php b/lib/Service/Divide/Model/DividebackQueryRequestMarshaller.php
new file mode 100644
index 0000000..ab7e62e
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+DividebackQueryRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/DividebackQueryResponse.php b/lib/Service/Divide/Model/DividebackQueryResponse.php
new file mode 100644
index 0000000..6854915
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return DividebackQueryYopQueryDivideBackResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/DividebackQueryResponseUnMarshaller.php b/lib/Service/Divide/Model/DividebackQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..f43bf6c
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * DividebackQueryYopQueryDivideBackResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class DividebackQueryYopQueryDivideBackResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'DividebackQueryYopQueryDivideBackResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'divideBackRequestId' => 'string',
+ 'uniqueDivideBackNo' => 'string',
+ 'divideBackDetail' => 'string',
+ 'status' => 'string',
+ 'errorMessage' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'divideBackRequestId' => null,
+ 'uniqueDivideBackNo' => null,
+ 'divideBackDetail' => null,
+ 'status' => null,
+ 'errorMessage' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'divideBackRequestId' => 'divideBackRequestId',
+ 'uniqueDivideBackNo' => 'uniqueDivideBackNo',
+ 'divideBackDetail' => 'divideBackDetail',
+ 'status' => 'status',
+ 'errorMessage' => 'errorMessage',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'divideBackRequestId' => 'setDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'setUniqueDivideBackNo',
+ 'divideBackDetail' => 'setDivideBackDetail',
+ 'status' => 'setStatus',
+ 'errorMessage' => 'setErrorMessage',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'divideBackRequestId' => 'getDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'getUniqueDivideBackNo',
+ 'divideBackDetail' => 'getDivideBackDetail',
+ 'status' => 'getStatus',
+ 'errorMessage' => 'getErrorMessage',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['divideBackRequestId'] = isset($data['divideBackRequestId']) ? $data['divideBackRequestId'] : null;
+ $this->container['uniqueDivideBackNo'] = isset($data['uniqueDivideBackNo']) ? $data['uniqueDivideBackNo'] : null;
+ $this->container['divideBackDetail'] = isset($data['divideBackDetail']) ? $data['divideBackDetail'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['errorMessage'] = isset($data['errorMessage']) ? $data['errorMessage'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 业务方标识
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->container['divideBackRequestId'];
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId 商户分账资金归还请求号
+ * @return $this
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->container['divideBackRequestId'] = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueDivideBackNo
+ * @return string
+ */
+ public function getUniqueDivideBackNo()
+ {
+ return $this->container['uniqueDivideBackNo'];
+ }
+
+ /**
+ * Sets uniqueDivideBackNo
+ * @param string $uniqueDivideBackNo 易宝分账资金归还订单号
+ * @return $this
+ */
+ public function setUniqueDivideBackNo($uniqueDivideBackNo)
+ {
+ $this->container['uniqueDivideBackNo'] = $uniqueDivideBackNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->container['divideBackDetail'];
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail 分账资金归还详情
+ * @return $this
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->container['divideBackDetail'] = $divideBackDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账资金归还状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets errorMessage
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->container['errorMessage'];
+ }
+
+ /**
+ * Sets errorMessage
+ * @param string $errorMessage 错误描述
+ * @return $this
+ */
+ public function setErrorMessage($errorMessage)
+ {
+ $this->container['errorMessage'] = $errorMessage;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/DividebackRequest.php b/lib/Service/Divide/Model/DividebackRequest.php
new file mode 100644
index 0000000..f6e8ef0
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackRequest.php
@@ -0,0 +1,197 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return DividebackRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return DividebackRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->divideBackRequestId;
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId
+ * @return DividebackRequest
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->divideBackRequestId = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return DividebackRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return DividebackRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return DividebackRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->divideBackDetail;
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail
+ * @return DividebackRequest
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->divideBackDetail = $divideBackDetail;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'divideback';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/DividebackRequestMarshaller.php b/lib/Service/Divide/Model/DividebackRequestMarshaller.php
new file mode 100644
index 0000000..3697d97
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getDivideBackRequestId() != null) {
+ $internalRequest->addParameter('divideBackRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideBackRequestId(), 'string'));
+ }
+ if ($request->getDivideRequestId() != null) {
+ $internalRequest->addParameter('divideRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideRequestId(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getDivideBackDetail() != null) {
+ $internalRequest->addParameter('divideBackDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideBackDetail(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+DividebackRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/DividebackResponse.php b/lib/Service/Divide/Model/DividebackResponse.php
new file mode 100644
index 0000000..0fcda8d
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return DividebackYopDivideBackResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/DividebackResponseUnMarshaller.php b/lib/Service/Divide/Model/DividebackResponseUnMarshaller.php
new file mode 100644
index 0000000..e37f61a
--- /dev/null
+++ b/lib/Service/Divide/Model/DividebackResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * DividebackYopDivideBackResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class DividebackYopDivideBackResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'DividebackYopDivideBackResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'divideBackRequestId' => 'string',
+ 'uniqueDivideBackNo' => 'string',
+ 'divideBackDetail' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'divideBackRequestId' => null,
+ 'uniqueDivideBackNo' => null,
+ 'divideBackDetail' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'divideBackRequestId' => 'divideBackRequestId',
+ 'uniqueDivideBackNo' => 'uniqueDivideBackNo',
+ 'divideBackDetail' => 'divideBackDetail',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'divideBackRequestId' => 'setDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'setUniqueDivideBackNo',
+ 'divideBackDetail' => 'setDivideBackDetail',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'divideBackRequestId' => 'getDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'getUniqueDivideBackNo',
+ 'divideBackDetail' => 'getDivideBackDetail',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['divideBackRequestId'] = isset($data['divideBackRequestId']) ? $data['divideBackRequestId'] : null;
+ $this->container['uniqueDivideBackNo'] = isset($data['uniqueDivideBackNo']) ? $data['uniqueDivideBackNo'] : null;
+ $this->container['divideBackDetail'] = isset($data['divideBackDetail']) ? $data['divideBackDetail'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 业务方标识
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->container['divideBackRequestId'];
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId 商户分账资金归还请求号
+ * @return $this
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->container['divideBackRequestId'] = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueDivideBackNo
+ * @return string
+ */
+ public function getUniqueDivideBackNo()
+ {
+ return $this->container['uniqueDivideBackNo'];
+ }
+
+ /**
+ * Sets uniqueDivideBackNo
+ * @param string $uniqueDivideBackNo 易宝分账资金归还订单号(在资金归还后易宝返回的分账资金归还订单号)
+ * @return $this
+ */
+ public function setUniqueDivideBackNo($uniqueDivideBackNo)
+ {
+ $this->container['uniqueDivideBackNo'] = $uniqueDivideBackNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->container['divideBackDetail'];
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail 分账资金归还明细
+ * @return $this
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->container['divideBackDetail'] = $divideBackDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账资金归还状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/QueryRequest.php b/lib/Service/Divide/Model/QueryRequest.php
new file mode 100644
index 0000000..b252177
--- /dev/null
+++ b/lib/Service/Divide/Model/QueryRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return QueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return QueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return QueryRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return QueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return QueryRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'query';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/QueryRequestMarshaller.php b/lib/Service/Divide/Model/QueryRequestMarshaller.php
new file mode 100644
index 0000000..470166d
--- /dev/null
+++ b/lib/Service/Divide/Model/QueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+QueryRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/QueryResponse.php b/lib/Service/Divide/Model/QueryResponse.php
new file mode 100644
index 0000000..f5ff36b
--- /dev/null
+++ b/lib/Service/Divide/Model/QueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return QueryYopQueryOrderDivideResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/QueryResponseUnMarshaller.php b/lib/Service/Divide/Model/QueryResponseUnMarshaller.php
new file mode 100644
index 0000000..52e933b
--- /dev/null
+++ b/lib/Service/Divide/Model/QueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * QueryYopQueryOrderDivideResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class QueryYopQueryOrderDivideResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'QueryYopQueryOrderDivideResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'divideRequestId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'status' => 'string',
+ 'divideDetail' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'divideRequestId' => null,
+ 'uniqueOrderNo' => null,
+ 'status' => null,
+ 'divideDetail' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'divideRequestId' => 'divideRequestId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'status' => 'status',
+ 'divideDetail' => 'divideDetail',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'status' => 'setStatus',
+ 'divideDetail' => 'setDivideDetail',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'status' => 'getStatus',
+ 'divideDetail' => 'getDivideDetail',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['divideDetail'] = isset($data['divideDetail']) ? $data['divideDetail'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetail
+ * @return string
+ */
+ public function getDivideDetail()
+ {
+ return $this->container['divideDetail'];
+ }
+
+ /**
+ * Sets divideDetail
+ * @param string $divideDetail 分账详情
+ * @return $this
+ */
+ public function setDivideDetail($divideDetail)
+ {
+ $this->container['divideDetail'] = $divideDetail;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/ReceiptDownloadReceiptResponseDTOResult.php b/lib/Service/Divide/Model/ReceiptDownloadReceiptResponseDTOResult.php
new file mode 100644
index 0000000..d5a1977
--- /dev/null
+++ b/lib/Service/Divide/Model/ReceiptDownloadReceiptResponseDTOResult.php
@@ -0,0 +1,320 @@
+名称(中文):分账
名称(英文,xx.war):opr-hessian.war
简介:中台收款交易支持分账
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=108380664
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):divide(分账)
涉及的接口:申请分账、分账查询、分账资金归还/分账退回、分账退回查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Divide\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * ReceiptDownloadReceiptResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class ReceiptDownloadReceiptResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'ReceiptDownloadReceiptResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'data' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'data' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'data' => 'data',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'data' => 'setData',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'data' => 'getData',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['data'] = isset($data['data']) ? $data['data'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ * @return string
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ * @param string $data 回单信息
+ * @return $this
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Divide/Model/ReceiptDownloadRequest.php b/lib/Service/Divide/Model/ReceiptDownloadRequest.php
new file mode 100644
index 0000000..3157dd8
--- /dev/null
+++ b/lib/Service/Divide/Model/ReceiptDownloadRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ReceiptDownloadRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return ReceiptDownloadRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return ReceiptDownloadRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return ReceiptDownloadRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets ledgerNo
+ * @return string
+ */
+ public function getLedgerNo()
+ {
+ return $this->ledgerNo;
+ }
+
+ /**
+ * Sets ledgerNo
+ * @param string $ledgerNo
+ * @return ReceiptDownloadRequest
+ */
+ public function setLedgerNo($ledgerNo)
+ {
+ $this->ledgerNo = $ledgerNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'receiptDownload';
+ }
+
+}
diff --git a/lib/Service/Divide/Model/ReceiptDownloadRequestMarshaller.php b/lib/Service/Divide/Model/ReceiptDownloadRequestMarshaller.php
new file mode 100644
index 0000000..8519661
--- /dev/null
+++ b/lib/Service/Divide/Model/ReceiptDownloadRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ReceiptDownloadRequestMarshaller::__init();
diff --git a/lib/Service/Divide/Model/ReceiptDownloadResponse.php b/lib/Service/Divide/Model/ReceiptDownloadResponse.php
new file mode 100644
index 0000000..e9dce53
--- /dev/null
+++ b/lib/Service/Divide/Model/ReceiptDownloadResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ReceiptDownloadReceiptResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Divide/Model/ReceiptDownloadResponseUnMarshaller.php b/lib/Service/Divide/Model/ReceiptDownloadResponseUnMarshaller.php
new file mode 100644
index 0000000..ea0edaa
--- /dev/null
+++ b/lib/Service/Divide/Model/ReceiptDownloadResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyBindConfirmSmsRequest $request
+ * @return Model\FacepayProxyBindConfirmSmsResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyBindConfirmSms(Model\FacepayProxyBindConfirmSmsRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyBindConfirmSmsRequestMarshaller::getInstance(),
+ Model\FacepayProxyBindConfirmSmsResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyBindFirstCardRequest $request
+ * @return Model\FacepayProxyBindFirstCardResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyBindFirstCard(Model\FacepayProxyBindFirstCardRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyBindFirstCardRequestMarshaller::getInstance(),
+ Model\FacepayProxyBindFirstCardResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyBindSendSmsRequest $request
+ * @return Model\FacepayProxyBindSendSmsResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyBindSendSms(Model\FacepayProxyBindSendSmsRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyBindSendSmsRequestMarshaller::getInstance(),
+ Model\FacepayProxyBindSendSmsResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyCertificateNoAuthRequest $request
+ * @return Model\FacepayProxyCertificateNoAuthResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyCertificateNoAuth(Model\FacepayProxyCertificateNoAuthRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyCertificateNoAuthRequestMarshaller::getInstance(),
+ Model\FacepayProxyCertificateNoAuthResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyCheckLogonSmscodeRequest $request
+ * @return Model\FacepayProxyCheckLogonSmscodeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyCheckLogonSmscode(Model\FacepayProxyCheckLogonSmscodeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyCheckLogonSmscodeRequestMarshaller::getInstance(),
+ Model\FacepayProxyCheckLogonSmscodeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyConfirmFirstCardSmscodeRequest $request
+ * @return Model\FacepayProxyConfirmFirstCardSmscodeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyConfirmFirstCardSmscode(Model\FacepayProxyConfirmFirstCardSmscodeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyConfirmFirstCardSmscodeRequestMarshaller::getInstance(),
+ Model\FacepayProxyConfirmFirstCardSmscodeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyConfirmVerifySmscodeRequest $request
+ * @return Model\FacepayProxyConfirmVerifySmscodeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyConfirmVerifySmscode(Model\FacepayProxyConfirmVerifySmscodeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyConfirmVerifySmscodeRequestMarshaller::getInstance(),
+ Model\FacepayProxyConfirmVerifySmscodeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyCreateBindCardRequest $request
+ * @return Model\FacepayProxyCreateBindCardResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyCreateBindCard(Model\FacepayProxyCreateBindCardRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyCreateBindCardRequestMarshaller::getInstance(),
+ Model\FacepayProxyCreateBindCardResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyCreateOrderRequest $request
+ * @return Model\FacepayProxyCreateOrderResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyCreateOrder(Model\FacepayProxyCreateOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyCreateOrderRequestMarshaller::getInstance(),
+ Model\FacepayProxyCreateOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyFaceLogonRequest $request
+ * @return Model\FacepayProxyFaceLogonResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyFaceLogon(Model\FacepayProxyFaceLogonRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyFaceLogonRequestMarshaller::getInstance(),
+ Model\FacepayProxyFaceLogonResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyOpenFaceAccountRequest $request
+ * @return Model\FacepayProxyOpenFaceAccountResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyOpenFaceAccount(Model\FacepayProxyOpenFaceAccountRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyOpenFaceAccountRequestMarshaller::getInstance(),
+ Model\FacepayProxyOpenFaceAccountResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyPaySendSmsRequest $request
+ * @return Model\FacepayProxyPaySendSmsResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyPaySendSms(Model\FacepayProxyPaySendSmsRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyPaySendSmsRequestMarshaller::getInstance(),
+ Model\FacepayProxyPaySendSmsResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyQueryBindCardInfoRequest $request
+ * @return Model\FacepayProxyQueryBindCardInfoResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyQueryBindCardInfo(Model\FacepayProxyQueryBindCardInfoRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyQueryBindCardInfoRequestMarshaller::getInstance(),
+ Model\FacepayProxyQueryBindCardInfoResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyQueryOrderAfterRequest $request
+ * @return Model\FacepayProxyQueryOrderAfterResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyQueryOrderAfter(Model\FacepayProxyQueryOrderAfterRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyQueryOrderAfterRequestMarshaller::getInstance(),
+ Model\FacepayProxyQueryOrderAfterResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyQueryOrderBeforeRequest $request
+ * @return Model\FacepayProxyQueryOrderBeforeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyQueryOrderBefore(Model\FacepayProxyQueryOrderBeforeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getBody() == null) {
+ throw new YopClientException("request.body is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyQueryOrderBeforeRequestMarshaller::getInstance(),
+ Model\FacepayProxyQueryOrderBeforeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxySendFirstCardSmscodeRequest $request
+ * @return Model\FacepayProxySendFirstCardSmscodeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxySendFirstCardSmscode(Model\FacepayProxySendFirstCardSmscodeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxySendFirstCardSmscodeRequestMarshaller::getInstance(),
+ Model\FacepayProxySendFirstCardSmscodeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxySendLogonSmscodeRequest $request
+ * @return Model\FacepayProxySendLogonSmscodeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxySendLogonSmscode(Model\FacepayProxySendLogonSmscodeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxySendLogonSmscodeRequestMarshaller::getInstance(),
+ Model\FacepayProxySendLogonSmscodeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxySendVerifySmscodeRequest $request
+ * @return Model\FacepayProxySendVerifySmscodeResponse
+ * @throws YopClientException
+ */
+ public function facepayProxySendVerifySmscode(Model\FacepayProxySendVerifySmscodeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxySendVerifySmscodeRequestMarshaller::getInstance(),
+ Model\FacepayProxySendVerifySmscodeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FacepayProxyVerifyUserInfoRequest $request
+ * @return Model\FacepayProxyVerifyUserInfoResponse
+ * @throws YopClientException
+ */
+ public function facepayProxyVerifyUserInfo(Model\FacepayProxyVerifyUserInfoRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\FacepayProxyVerifyUserInfoRequestMarshaller::getInstance(),
+ Model\FacepayProxyVerifyUserInfoResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\OAuth2TokenGenerateTokenRequest $request
+ * @return Model\OAuth2TokenGenerateTokenResponse
+ * @throws YopClientException
+ */
+ public function oAuth2TokenGenerateToken(Model\OAuth2TokenGenerateTokenRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\OAuth2TokenGenerateTokenRequestMarshaller::getInstance(),
+ Model\OAuth2TokenGenerateTokenResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SosDeleteBindNoRequest $request
+ * @return Model\SosDeleteBindNoResponse
+ * @throws YopClientException
+ */
+ public function sosDeleteBindNo(Model\SosDeleteBindNoRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SosDeleteBindNoRequestMarshaller::getInstance(),
+ Model\SosDeleteBindNoResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Facepay/FacepayClientBuilder.php b/lib/Service/Facepay/FacepayClientBuilder.php
new file mode 100644
index 0000000..3c669dd
--- /dev/null
+++ b/lib/Service/Facepay/FacepayClientBuilder.php
@@ -0,0 +1,70 @@
+register('oAuth2TokenGenerateToken',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * FacepayClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new FacepayClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return FacepayClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new FacepayClientBuilder($clientParams);
+ }
+
+}
+
+FacepayClientBuilder::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsBindCardResponseResult.php b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsBindCardResponseResult.php
new file mode 100644
index 0000000..676bc90
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsBindCardResponseResult.php
@@ -0,0 +1,244 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyBindConfirmSmsBindCardResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyBindConfirmSmsBindCardResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyBindConfirmSmsBindCardResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsRequest.php b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsRequest.php
new file mode 100644
index 0000000..b0fe508
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsRequest.php
@@ -0,0 +1,197 @@
+bindBizNo;
+ }
+
+ /**
+ * Sets bindBizNo
+ * @param string $bindBizNo
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setBindBizNo($bindBizNo)
+ {
+ $this->bindBizNo = $bindBizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets smsCode
+ * @return string
+ */
+ public function getSmsCode()
+ {
+ return $this->smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyBindConfirmSmsRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyBindConfirmSms';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsRequestMarshaller.php
new file mode 100644
index 0000000..af0aef2
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBindBizNo() != null) {
+ $internalRequest->addParameter('bindBizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBindBizNo(), 'string'));
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyBindConfirmSmsRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsResponse.php b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsResponse.php
new file mode 100644
index 0000000..f7c5feb
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyBindConfirmSmsBindCardResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsResponseUnMarshaller.php
new file mode 100644
index 0000000..bd17c27
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindConfirmSmsResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyBindFirstCardBindCardResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyBindFirstCardBindCardResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyBindFirstCardBindCardResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindFirstCardRequest.php b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardRequest.php
new file mode 100644
index 0000000..4db853a
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardRequest.php
@@ -0,0 +1,249 @@
+bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNumber
+ * @return string
+ */
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+
+ /**
+ * Sets phoneNumber
+ * @param string $phoneNumber
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets expireDate
+ * @return string
+ */
+ public function getExpireDate()
+ {
+ return $this->expireDate;
+ }
+
+ /**
+ * Sets expireDate
+ * @param string $expireDate
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setExpireDate($expireDate)
+ {
+ $this->expireDate = $expireDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyBindFirstCardRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyBindFirstCard';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindFirstCardRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardRequestMarshaller.php
new file mode 100644
index 0000000..753127f
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getPhoneNumber() != null) {
+ $internalRequest->addParameter('phoneNumber',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNumber(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getExpireDate() != null) {
+ $internalRequest->addParameter('expireDate',
+ ObjectSerializer::sanitizeForSerialization($request->getExpireDate(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyBindFirstCardRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindFirstCardResponse.php b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardResponse.php
new file mode 100644
index 0000000..b09e586
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyBindFirstCardBindCardResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindFirstCardResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardResponseUnMarshaller.php
new file mode 100644
index 0000000..bec0a71
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindFirstCardResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyBindSendSmsBindCardResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyBindSendSmsBindCardResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyBindSendSmsBindCardResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindSendSmsRequest.php b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsRequest.php
new file mode 100644
index 0000000..2ce4cbd
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsRequest.php
@@ -0,0 +1,171 @@
+bindBizNo;
+ }
+
+ /**
+ * Sets bindBizNo
+ * @param string $bindBizNo
+ * @return FacepayProxyBindSendSmsRequest
+ */
+ public function setBindBizNo($bindBizNo)
+ {
+ $this->bindBizNo = $bindBizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyBindSendSmsRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyBindSendSmsRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyBindSendSmsRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyBindSendSmsRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyBindSendSmsRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyBindSendSms';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindSendSmsRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsRequestMarshaller.php
new file mode 100644
index 0000000..af9440c
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBindBizNo() != null) {
+ $internalRequest->addParameter('bindBizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBindBizNo(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyBindSendSmsRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindSendSmsResponse.php b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsResponse.php
new file mode 100644
index 0000000..759e47d
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyBindSendSmsBindCardResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyBindSendSmsResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsResponseUnMarshaller.php
new file mode 100644
index 0000000..dd363d1
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyBindSendSmsResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyCertificateNoAuthFaceLogonResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyCertificateNoAuthFaceLogonResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyCertificateNoAuthFaceLogonResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthRequest.php b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthRequest.php
new file mode 100644
index 0000000..d58142c
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthRequest.php
@@ -0,0 +1,171 @@
+orderToken;
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken
+ * @return FacepayProxyCertificateNoAuthRequest
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->orderToken = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets faceRequestNo
+ * @return string
+ */
+ public function getFaceRequestNo()
+ {
+ return $this->faceRequestNo;
+ }
+
+ /**
+ * Sets faceRequestNo
+ * @param string $faceRequestNo
+ * @return FacepayProxyCertificateNoAuthRequest
+ */
+ public function setFaceRequestNo($faceRequestNo)
+ {
+ $this->faceRequestNo = $faceRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets certificateNoLastN
+ * @return string
+ */
+ public function getCertificateNoLastN()
+ {
+ return $this->certificateNoLastN;
+ }
+
+ /**
+ * Sets certificateNoLastN
+ * @param string $certificateNoLastN
+ * @return FacepayProxyCertificateNoAuthRequest
+ */
+ public function setCertificateNoLastN($certificateNoLastN)
+ {
+ $this->certificateNoLastN = $certificateNoLastN;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyCertificateNoAuthRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyCertificateNoAuthRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyCertificateNoAuthRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyCertificateNoAuth';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthRequestMarshaller.php
new file mode 100644
index 0000000..3d2c5b9
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderToken() != null) {
+ $internalRequest->addParameter('orderToken',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderToken(), 'string'));
+ }
+ if ($request->getFaceRequestNo() != null) {
+ $internalRequest->addParameter('faceRequestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getFaceRequestNo(), 'string'));
+ }
+ if ($request->getCertificateNoLastN() != null) {
+ $internalRequest->addParameter('certificateNoLastN',
+ ObjectSerializer::sanitizeForSerialization($request->getCertificateNoLastN(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyCertificateNoAuthRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthResponse.php b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthResponse.php
new file mode 100644
index 0000000..a7d3efc
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyCertificateNoAuthFaceLogonResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthResponseUnMarshaller.php
new file mode 100644
index 0000000..4a75a88
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCertificateNoAuthResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyCheckLogonSmscodeBaseUserResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyCheckLogonSmscodeBaseUserResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyCheckLogonSmscodeBaseUserResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeRequest.php b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeRequest.php
new file mode 100644
index 0000000..0624d61
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeRequest.php
@@ -0,0 +1,171 @@
+orderToken;
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken
+ * @return FacepayProxyCheckLogonSmscodeRequest
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->orderToken = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets faceRequestNo
+ * @return string
+ */
+ public function getFaceRequestNo()
+ {
+ return $this->faceRequestNo;
+ }
+
+ /**
+ * Sets faceRequestNo
+ * @param string $faceRequestNo
+ * @return FacepayProxyCheckLogonSmscodeRequest
+ */
+ public function setFaceRequestNo($faceRequestNo)
+ {
+ $this->faceRequestNo = $faceRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets smsCode
+ * @return string
+ */
+ public function getSmsCode()
+ {
+ return $this->smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return FacepayProxyCheckLogonSmscodeRequest
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyCheckLogonSmscodeRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyCheckLogonSmscodeRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyCheckLogonSmscodeRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyCheckLogonSmscode';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeRequestMarshaller.php
new file mode 100644
index 0000000..9425418
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderToken() != null) {
+ $internalRequest->addParameter('orderToken',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderToken(), 'string'));
+ }
+ if ($request->getFaceRequestNo() != null) {
+ $internalRequest->addParameter('faceRequestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getFaceRequestNo(), 'string'));
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyCheckLogonSmscodeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeResponse.php b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeResponse.php
new file mode 100644
index 0000000..6e181ea
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyCheckLogonSmscodeBaseUserResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeResponseUnMarshaller.php
new file mode 100644
index 0000000..502f43a
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCheckLogonSmscodeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyConfirmFirstCardSmscodeBaseResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyConfirmFirstCardSmscodeBaseResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyConfirmFirstCardSmscodeBaseResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeRequest.php b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeRequest.php
new file mode 100644
index 0000000..4f1cb6f
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeRequest.php
@@ -0,0 +1,197 @@
+bindBizNo;
+ }
+
+ /**
+ * Sets bindBizNo
+ * @param string $bindBizNo
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setBindBizNo($bindBizNo)
+ {
+ $this->bindBizNo = $bindBizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets smsCode
+ * @return string
+ */
+ public function getSmsCode()
+ {
+ return $this->smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyConfirmFirstCardSmscodeRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyConfirmFirstCardSmscode';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeRequestMarshaller.php
new file mode 100644
index 0000000..7a6d98e
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBindBizNo() != null) {
+ $internalRequest->addParameter('bindBizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBindBizNo(), 'string'));
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyConfirmFirstCardSmscodeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeResponse.php b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeResponse.php
new file mode 100644
index 0000000..585b8b1
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyConfirmFirstCardSmscodeBaseResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeResponseUnMarshaller.php
new file mode 100644
index 0000000..23418c0
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmFirstCardSmscodeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return FacepayProxyConfirmVerifySmscodeRequest
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyConfirmVerifySmscodeRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyConfirmVerifySmscodeRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyConfirmVerifySmscodeRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyConfirmVerifySmscode';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeRequestMarshaller.php
new file mode 100644
index 0000000..73f1bbd
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyConfirmVerifySmscodeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeResponse.php b/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeResponse.php
new file mode 100644
index 0000000..b8d0422
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyConfirmVerifySmscodeUserInfoResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeResponseUnMarshaller.php
new file mode 100644
index 0000000..b0ab4f8
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyConfirmVerifySmscodeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyConfirmVerifySmscodeUserInfoResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyConfirmVerifySmscodeUserInfoResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyConfirmVerifySmscodeUserInfoResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateBindCardBindCardResponseResult.php b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardBindCardResponseResult.php
new file mode 100644
index 0000000..bf9a604
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardBindCardResponseResult.php
@@ -0,0 +1,244 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyCreateBindCardBindCardResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyCreateBindCardBindCardResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyCreateBindCardBindCardResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateBindCardRequest.php b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardRequest.php
new file mode 100644
index 0000000..d1fed68
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardRequest.php
@@ -0,0 +1,249 @@
+bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNumber
+ * @return string
+ */
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+
+ /**
+ * Sets phoneNumber
+ * @param string $phoneNumber
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets expireDate
+ * @return string
+ */
+ public function getExpireDate()
+ {
+ return $this->expireDate;
+ }
+
+ /**
+ * Sets expireDate
+ * @param string $expireDate
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setExpireDate($expireDate)
+ {
+ $this->expireDate = $expireDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyCreateBindCardRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyCreateBindCard';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateBindCardRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardRequestMarshaller.php
new file mode 100644
index 0000000..60e74df
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getPhoneNumber() != null) {
+ $internalRequest->addParameter('phoneNumber',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNumber(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getExpireDate() != null) {
+ $internalRequest->addParameter('expireDate',
+ ObjectSerializer::sanitizeForSerialization($request->getExpireDate(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyCreateBindCardRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateBindCardResponse.php b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardResponse.php
new file mode 100644
index 0000000..e79e53d
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyCreateBindCardBindCardResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateBindCardResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardResponseUnMarshaller.php
new file mode 100644
index 0000000..d994f60
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateBindCardResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyCreateOrderPayOrderResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyCreateOrderPayOrderResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyCreateOrderPayOrderResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateOrderRequest.php b/lib/Service/Facepay/Model/FacepayProxyCreateOrderRequest.php
new file mode 100644
index 0000000..6e0c348
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateOrderRequest.php
@@ -0,0 +1,327 @@
+orderToken;
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->orderToken = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return string
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param string $orderAmount
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniquePayNo
+ * @return string
+ */
+ public function getUniquePayNo()
+ {
+ return $this->uniquePayNo;
+ }
+
+ /**
+ * Sets uniquePayNo
+ * @param string $uniquePayNo
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setUniquePayNo($uniquePayNo)
+ {
+ $this->uniquePayNo = $uniquePayNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindBizNo
+ * @return string
+ */
+ public function getBindBizNo()
+ {
+ return $this->bindBizNo;
+ }
+
+ /**
+ * Sets bindBizNo
+ * @param string $bindBizNo
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setBindBizNo($bindBizNo)
+ {
+ $this->bindBizNo = $bindBizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets expireDate
+ * @return string
+ */
+ public function getExpireDate()
+ {
+ return $this->expireDate;
+ }
+
+ /**
+ * Sets expireDate
+ * @param string $expireDate
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setExpireDate($expireDate)
+ {
+ $this->expireDate = $expireDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets smsCode
+ * @return string
+ */
+ public function getSmsCode()
+ {
+ return $this->smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyCreateOrderRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyCreateOrder';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateOrderRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCreateOrderRequestMarshaller.php
new file mode 100644
index 0000000..0219161
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateOrderRequestMarshaller.php
@@ -0,0 +1,125 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderToken() != null) {
+ $internalRequest->addParameter('orderToken',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderToken(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'string'));
+ }
+ if ($request->getUniquePayNo() != null) {
+ $internalRequest->addParameter('uniquePayNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniquePayNo(), 'string'));
+ }
+ if ($request->getBindBizNo() != null) {
+ $internalRequest->addParameter('bindBizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBindBizNo(), 'string'));
+ }
+ if ($request->getExpireDate() != null) {
+ $internalRequest->addParameter('expireDate',
+ ObjectSerializer::sanitizeForSerialization($request->getExpireDate(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyCreateOrderRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateOrderResponse.php b/lib/Service/Facepay/Model/FacepayProxyCreateOrderResponse.php
new file mode 100644
index 0000000..a33114f
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyCreateOrderPayOrderResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyCreateOrderResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyCreateOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..75709dc
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyCreateOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyFaceLogonFaceLogonResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyFaceLogonFaceLogonResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyFaceLogonFaceLogonResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyFaceLogonRequest.php b/lib/Service/Facepay/Model/FacepayProxyFaceLogonRequest.php
new file mode 100644
index 0000000..f04693c
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyFaceLogonRequest.php
@@ -0,0 +1,197 @@
+orderToken;
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->orderToken = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets faceImage
+ * @return string
+ */
+ public function getFaceImage()
+ {
+ return $this->faceImage;
+ }
+
+ /**
+ * Sets faceImage
+ * @param string $faceImage
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setFaceImage($faceImage)
+ {
+ $this->faceImage = $faceImage;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectType
+ * @return string
+ */
+ public function getCollectType()
+ {
+ return $this->collectType;
+ }
+
+ /**
+ * Sets collectType
+ * @param string $collectType
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setCollectType($collectType)
+ {
+ $this->collectType = $collectType;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectDevice
+ * @return string
+ */
+ public function getCollectDevice()
+ {
+ return $this->collectDevice;
+ }
+
+ /**
+ * Sets collectDevice
+ * @param string $collectDevice
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setCollectDevice($collectDevice)
+ {
+ $this->collectDevice = $collectDevice;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyFaceLogonRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyFaceLogon';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyFaceLogonRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyFaceLogonRequestMarshaller.php
new file mode 100644
index 0000000..3267dd6
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyFaceLogonRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderToken() != null) {
+ $internalRequest->addParameter('orderToken',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderToken(), 'string'));
+ }
+ if ($request->getFaceImage() != null) {
+ $internalRequest->addParameter('faceImage',
+ ObjectSerializer::sanitizeForSerialization($request->getFaceImage(), 'string'));
+ }
+ if ($request->getCollectType() != null) {
+ $internalRequest->addParameter('collectType',
+ ObjectSerializer::sanitizeForSerialization($request->getCollectType(), 'string'));
+ }
+ if ($request->getCollectDevice() != null) {
+ $internalRequest->addParameter('collectDevice',
+ ObjectSerializer::sanitizeForSerialization($request->getCollectDevice(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyFaceLogonRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyFaceLogonResponse.php b/lib/Service/Facepay/Model/FacepayProxyFaceLogonResponse.php
new file mode 100644
index 0000000..122402e
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyFaceLogonResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyFaceLogonFaceLogonResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyFaceLogonResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyFaceLogonResponseUnMarshaller.php
new file mode 100644
index 0000000..7aa7eb3
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyFaceLogonResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyOpenFaceAccountBaseUserResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyOpenFaceAccountBaseUserResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyOpenFaceAccountBaseUserResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountRequest.php b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountRequest.php
new file mode 100644
index 0000000..e884595
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountRequest.php
@@ -0,0 +1,249 @@
+faceImageFirst;
+ }
+
+ /**
+ * Sets faceImageFirst
+ * @param string $faceImageFirst
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setFaceImageFirst($faceImageFirst)
+ {
+ $this->faceImageFirst = $faceImageFirst;
+
+ return $this;
+ }
+
+ /**
+ * Gets faceImageSecond
+ * @return string
+ */
+ public function getFaceImageSecond()
+ {
+ return $this->faceImageSecond;
+ }
+
+ /**
+ * Sets faceImageSecond
+ * @param string $faceImageSecond
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setFaceImageSecond($faceImageSecond)
+ {
+ $this->faceImageSecond = $faceImageSecond;
+
+ return $this;
+ }
+
+ /**
+ * Gets faceImageThird
+ * @return string
+ */
+ public function getFaceImageThird()
+ {
+ return $this->faceImageThird;
+ }
+
+ /**
+ * Sets faceImageThird
+ * @param string $faceImageThird
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setFaceImageThird($faceImageThird)
+ {
+ $this->faceImageThird = $faceImageThird;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectType
+ * @return string
+ */
+ public function getCollectType()
+ {
+ return $this->collectType;
+ }
+
+ /**
+ * Sets collectType
+ * @param string $collectType
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setCollectType($collectType)
+ {
+ $this->collectType = $collectType;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectDevice
+ * @return string
+ */
+ public function getCollectDevice()
+ {
+ return $this->collectDevice;
+ }
+
+ /**
+ * Sets collectDevice
+ * @param string $collectDevice
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setCollectDevice($collectDevice)
+ {
+ $this->collectDevice = $collectDevice;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderToken
+ * @return string
+ */
+ public function getOrderToken()
+ {
+ return $this->orderToken;
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->orderToken = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyOpenFaceAccountRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyOpenFaceAccount';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountRequestMarshaller.php
new file mode 100644
index 0000000..27afbef
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getFaceImageFirst() != null) {
+ $internalRequest->addParameter('faceImageFirst',
+ ObjectSerializer::sanitizeForSerialization($request->getFaceImageFirst(), 'string'));
+ }
+ if ($request->getFaceImageSecond() != null) {
+ $internalRequest->addParameter('faceImageSecond',
+ ObjectSerializer::sanitizeForSerialization($request->getFaceImageSecond(), 'string'));
+ }
+ if ($request->getFaceImageThird() != null) {
+ $internalRequest->addParameter('faceImageThird',
+ ObjectSerializer::sanitizeForSerialization($request->getFaceImageThird(), 'string'));
+ }
+ if ($request->getCollectType() != null) {
+ $internalRequest->addParameter('collectType',
+ ObjectSerializer::sanitizeForSerialization($request->getCollectType(), 'string'));
+ }
+ if ($request->getCollectDevice() != null) {
+ $internalRequest->addParameter('collectDevice',
+ ObjectSerializer::sanitizeForSerialization($request->getCollectDevice(), 'string'));
+ }
+ if ($request->getOrderToken() != null) {
+ $internalRequest->addParameter('orderToken',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyOpenFaceAccountRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountResponse.php b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountResponse.php
new file mode 100644
index 0000000..62ddbfb
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyOpenFaceAccountBaseUserResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountResponseUnMarshaller.php
new file mode 100644
index 0000000..5c3244d
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyOpenFaceAccountResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyPaySendSmsBaseUserResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyPaySendSmsBaseUserResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyPaySendSmsBaseUserResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyPaySendSmsRequest.php b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsRequest.php
new file mode 100644
index 0000000..1777fcb
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsRequest.php
@@ -0,0 +1,249 @@
+uniquePayNo;
+ }
+
+ /**
+ * Sets uniquePayNo
+ * @param string $uniquePayNo
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setUniquePayNo($uniquePayNo)
+ {
+ $this->uniquePayNo = $uniquePayNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindBizNo
+ * @return string
+ */
+ public function getBindBizNo()
+ {
+ return $this->bindBizNo;
+ }
+
+ /**
+ * Sets bindBizNo
+ * @param string $bindBizNo
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setBindBizNo($bindBizNo)
+ {
+ $this->bindBizNo = $bindBizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets expireDate
+ * @return string
+ */
+ public function getExpireDate()
+ {
+ return $this->expireDate;
+ }
+
+ /**
+ * Sets expireDate
+ * @param string $expireDate
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setExpireDate($expireDate)
+ {
+ $this->expireDate = $expireDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyPaySendSmsRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyPaySendSms';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyPaySendSmsRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsRequestMarshaller.php
new file mode 100644
index 0000000..afee228
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getUniquePayNo() != null) {
+ $internalRequest->addParameter('uniquePayNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniquePayNo(), 'string'));
+ }
+ if ($request->getBindBizNo() != null) {
+ $internalRequest->addParameter('bindBizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBindBizNo(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getExpireDate() != null) {
+ $internalRequest->addParameter('expireDate',
+ ObjectSerializer::sanitizeForSerialization($request->getExpireDate(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyPaySendSmsRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyPaySendSmsResponse.php b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsResponse.php
new file mode 100644
index 0000000..e774207
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyPaySendSmsBaseUserResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyPaySendSmsResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsResponseUnMarshaller.php
new file mode 100644
index 0000000..0a528d5
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyPaySendSmsResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyQueryBindCardInfoBindCardInfoResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyQueryBindCardInfoBindCardInfoResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyQueryBindCardInfoBindCardInfoResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoRequest.php b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoRequest.php
new file mode 100644
index 0000000..dbcdb12
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoRequest.php
@@ -0,0 +1,145 @@
+bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyQueryBindCardInfoRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyQueryBindCardInfoRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyQueryBindCardInfoRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyQueryBindCardInfoRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyQueryBindCardInfoRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyQueryBindCardInfo';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoRequestMarshaller.php
new file mode 100644
index 0000000..d95fa97
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyQueryBindCardInfoRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoResponse.php b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoResponse.php
new file mode 100644
index 0000000..e76dc04
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyQueryBindCardInfoBindCardInfoResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoResponseUnMarshaller.php
new file mode 100644
index 0000000..80ccf3b
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryBindCardInfoResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyQueryOrderAfterOrderAfterResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyQueryOrderAfterOrderAfterResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyQueryOrderAfterOrderAfterResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterRequest.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterRequest.php
new file mode 100644
index 0000000..5edd6cc
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterRequest.php
@@ -0,0 +1,171 @@
+orderToken;
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken
+ * @return FacepayProxyQueryOrderAfterRequest
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->orderToken = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxyQueryOrderAfterRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxyQueryOrderAfterRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyQueryOrderAfterRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyQueryOrderAfterRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyQueryOrderAfterRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyQueryOrderAfter';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterRequestMarshaller.php
new file mode 100644
index 0000000..0950742
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderToken() != null) {
+ $internalRequest->addParameter('orderToken',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderToken(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyQueryOrderAfterRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterResponse.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterResponse.php
new file mode 100644
index 0000000..7e2f800
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyQueryOrderAfterOrderAfterResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterResponseUnMarshaller.php
new file mode 100644
index 0000000..0fc888e
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderAfterResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyQueryOrderBeforeOrderBeforeRequestParam Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @description 方法签名第0个参数,请自行修改arg0等参数的名字
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyQueryOrderBeforeOrderBeforeRequestParam implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyQueryOrderBeforeOrderBeforeRequestParam';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'bizSystem' => 'string',
+ 'merchantNo' => 'string',
+ 'mtToken' => 'string',
+ 'memberNo' => 'string',
+ 'orderToken' => 'string',
+ 'merchantUserName' => 'string',
+ 'merchantUserIdNo' => 'string',
+ 'merchantUserPhone' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'bizSystem' => null,
+ 'merchantNo' => null,
+ 'mtToken' => null,
+ 'memberNo' => null,
+ 'orderToken' => null,
+ 'merchantUserName' => null,
+ 'merchantUserIdNo' => null,
+ 'merchantUserPhone' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'bizSystem' => 'bizSystem',
+ 'merchantNo' => 'merchantNo',
+ 'mtToken' => 'mtToken',
+ 'memberNo' => 'memberNo',
+ 'orderToken' => 'orderToken',
+ 'merchantUserName' => 'merchantUserName',
+ 'merchantUserIdNo' => 'merchantUserIdNo',
+ 'merchantUserPhone' => 'merchantUserPhone',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'bizSystem' => 'setBizSystem',
+ 'merchantNo' => 'setMerchantNo',
+ 'mtToken' => 'setMtToken',
+ 'memberNo' => 'setMemberNo',
+ 'orderToken' => 'setOrderToken',
+ 'merchantUserName' => 'setMerchantUserName',
+ 'merchantUserIdNo' => 'setMerchantUserIdNo',
+ 'merchantUserPhone' => 'setMerchantUserPhone',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'bizSystem' => 'getBizSystem',
+ 'merchantNo' => 'getMerchantNo',
+ 'mtToken' => 'getMtToken',
+ 'memberNo' => 'getMemberNo',
+ 'orderToken' => 'getOrderToken',
+ 'merchantUserName' => 'getMerchantUserName',
+ 'merchantUserIdNo' => 'getMerchantUserIdNo',
+ 'merchantUserPhone' => 'getMerchantUserPhone',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['bizSystem'] = isset($data['bizSystem']) ? $data['bizSystem'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['mtToken'] = isset($data['mtToken']) ? $data['mtToken'] : null;
+ $this->container['memberNo'] = isset($data['memberNo']) ? $data['memberNo'] : null;
+ $this->container['orderToken'] = isset($data['orderToken']) ? $data['orderToken'] : null;
+ $this->container['merchantUserName'] = isset($data['merchantUserName']) ? $data['merchantUserName'] : null;
+ $this->container['merchantUserIdNo'] = isset($data['merchantUserIdNo']) ? $data['merchantUserIdNo'] : null;
+ $this->container['merchantUserPhone'] = isset($data['merchantUserPhone']) ? $data['merchantUserPhone'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->container['bizSystem'];
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem bizSystem
+ * @return $this
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->container['bizSystem'] = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo merchantNo
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->container['mtToken'];
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken mtToken
+ * @return $this
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->container['mtToken'] = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->container['memberNo'];
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo memberNo
+ * @return $this
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->container['memberNo'] = $memberNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderToken
+ * @return string
+ */
+ public function getOrderToken()
+ {
+ return $this->container['orderToken'];
+ }
+
+ /**
+ * Sets orderToken
+ * @param string $orderToken orderToken
+ * @return $this
+ */
+ public function setOrderToken($orderToken)
+ {
+ $this->container['orderToken'] = $orderToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantUserName
+ * @return string
+ */
+ public function getMerchantUserName()
+ {
+ return $this->container['merchantUserName'];
+ }
+
+ /**
+ * Sets merchantUserName
+ * @param string $merchantUserName merchantUserName
+ * @return $this
+ */
+ public function setMerchantUserName($merchantUserName)
+ {
+ $this->container['merchantUserName'] = $merchantUserName;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantUserIdNo
+ * @return string
+ */
+ public function getMerchantUserIdNo()
+ {
+ return $this->container['merchantUserIdNo'];
+ }
+
+ /**
+ * Sets merchantUserIdNo
+ * @param string $merchantUserIdNo merchantUserIdNo
+ * @return $this
+ */
+ public function setMerchantUserIdNo($merchantUserIdNo)
+ {
+ $this->container['merchantUserIdNo'] = $merchantUserIdNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantUserPhone
+ * @return string
+ */
+ public function getMerchantUserPhone()
+ {
+ return $this->container['merchantUserPhone'];
+ }
+
+ /**
+ * Sets merchantUserPhone
+ * @param string $merchantUserPhone merchantUserPhone
+ * @return $this
+ */
+ public function setMerchantUserPhone($merchantUserPhone)
+ {
+ $this->container['merchantUserPhone'] = $merchantUserPhone;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeOrderBeforeResponseResult.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeOrderBeforeResponseResult.php
new file mode 100644
index 0000000..56589b8
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeOrderBeforeResponseResult.php
@@ -0,0 +1,244 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyQueryOrderBeforeOrderBeforeResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyQueryOrderBeforeOrderBeforeResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyQueryOrderBeforeOrderBeforeResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeRequest.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeRequest.php
new file mode 100644
index 0000000..915ad9a
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeRequest.php
@@ -0,0 +1,41 @@
+body;
+ }
+
+ /**
+ * Sets body
+ * @param $body
+ * @return FacepayProxyQueryOrderBeforeRequest
+ */
+ public function setBody($body)
+ {
+ $this->body = $body;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyQueryOrderBefore';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeRequestMarshaller.php
new file mode 100644
index 0000000..b314a5c
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeRequestMarshaller.php
@@ -0,0 +1,79 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $content = \GuzzleHttp\json_encode($request->getBody());
+ $internalRequest->setContent(\GuzzleHttp\Psr7\stream_for($content));
+ $internalRequest->addHeader(Headers::CONTENT_LENGTH, strlen($content));
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyQueryOrderBeforeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeResponse.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeResponse.php
new file mode 100644
index 0000000..aed0da5
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyQueryOrderBeforeOrderBeforeResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeResponseUnMarshaller.php
new file mode 100644
index 0000000..790869b
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyQueryOrderBeforeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxySendFirstCardSmscodeBaseResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxySendFirstCardSmscodeBaseResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxySendFirstCardSmscodeBaseResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeRequest.php b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeRequest.php
new file mode 100644
index 0000000..9018fa6
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeRequest.php
@@ -0,0 +1,171 @@
+bindBizNo;
+ }
+
+ /**
+ * Sets bindBizNo
+ * @param string $bindBizNo
+ * @return FacepayProxySendFirstCardSmscodeRequest
+ */
+ public function setBindBizNo($bindBizNo)
+ {
+ $this->bindBizNo = $bindBizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizNo
+ * @return string
+ */
+ public function getBizNo()
+ {
+ return $this->bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxySendFirstCardSmscodeRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxySendFirstCardSmscodeRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxySendFirstCardSmscodeRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxySendFirstCardSmscodeRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxySendFirstCardSmscodeRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxySendFirstCardSmscode';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeRequestMarshaller.php
new file mode 100644
index 0000000..8168f0a
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBindBizNo() != null) {
+ $internalRequest->addParameter('bindBizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBindBizNo(), 'string'));
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxySendFirstCardSmscodeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeResponse.php b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeResponse.php
new file mode 100644
index 0000000..cb70bc3
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxySendFirstCardSmscodeBaseResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeResponseUnMarshaller.php
new file mode 100644
index 0000000..67c2e0e
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendFirstCardSmscodeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxySendLogonSmscodeBaseResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxySendLogonSmscodeBaseResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxySendLogonSmscodeBaseResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeRequest.php b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeRequest.php
new file mode 100644
index 0000000..9f7e535
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeRequest.php
@@ -0,0 +1,145 @@
+bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxySendLogonSmscodeRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxySendLogonSmscodeRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxySendLogonSmscodeRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxySendLogonSmscodeRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxySendLogonSmscodeRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxySendLogonSmscode';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeRequestMarshaller.php
new file mode 100644
index 0000000..da58bd0
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxySendLogonSmscodeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeResponse.php b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeResponse.php
new file mode 100644
index 0000000..279d232
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxySendLogonSmscodeBaseResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeResponseUnMarshaller.php
new file mode 100644
index 0000000..bb2ed67
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendLogonSmscodeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxySendVerifySmscodeBaseResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxySendVerifySmscodeBaseResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxySendVerifySmscodeBaseResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeRequest.php b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeRequest.php
new file mode 100644
index 0000000..f50863a
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeRequest.php
@@ -0,0 +1,145 @@
+bizNo;
+ }
+
+ /**
+ * Sets bizNo
+ * @param string $bizNo
+ * @return FacepayProxySendVerifySmscodeRequest
+ */
+ public function setBizNo($bizNo)
+ {
+ $this->bizNo = $bizNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizToken
+ * @return string
+ */
+ public function getBizToken()
+ {
+ return $this->bizToken;
+ }
+
+ /**
+ * Sets bizToken
+ * @param string $bizToken
+ * @return FacepayProxySendVerifySmscodeRequest
+ */
+ public function setBizToken($bizToken)
+ {
+ $this->bizToken = $bizToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxySendVerifySmscodeRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxySendVerifySmscodeRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxySendVerifySmscodeRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxySendVerifySmscode';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeRequestMarshaller.php
new file mode 100644
index 0000000..34c4127
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBizNo() != null) {
+ $internalRequest->addParameter('bizNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBizNo(), 'string'));
+ }
+ if ($request->getBizToken() != null) {
+ $internalRequest->addParameter('bizToken',
+ ObjectSerializer::sanitizeForSerialization($request->getBizToken(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxySendVerifySmscodeRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeResponse.php b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeResponse.php
new file mode 100644
index 0000000..5ccd36c
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxySendVerifySmscodeBaseResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeResponseUnMarshaller.php
new file mode 100644
index 0000000..ac1009c
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxySendVerifySmscodeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+name;
+ }
+
+ /**
+ * Sets name
+ * @param string $name
+ * @return FacepayProxyVerifyUserInfoRequest
+ */
+ public function setName($name)
+ {
+ $this->name = $name;
+
+ return $this;
+ }
+
+ /**
+ * Gets certificateNo
+ * @return string
+ */
+ public function getCertificateNo()
+ {
+ return $this->certificateNo;
+ }
+
+ /**
+ * Sets certificateNo
+ * @param string $certificateNo
+ * @return FacepayProxyVerifyUserInfoRequest
+ */
+ public function setCertificateNo($certificateNo)
+ {
+ $this->certificateNo = $certificateNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystem
+ * @return string
+ */
+ public function getBizSystem()
+ {
+ return $this->bizSystem;
+ }
+
+ /**
+ * Sets bizSystem
+ * @param string $bizSystem
+ * @return FacepayProxyVerifyUserInfoRequest
+ */
+ public function setBizSystem($bizSystem)
+ {
+ $this->bizSystem = $bizSystem;
+
+ return $this;
+ }
+
+ /**
+ * Gets mtToken
+ * @return string
+ */
+ public function getMtToken()
+ {
+ return $this->mtToken;
+ }
+
+ /**
+ * Sets mtToken
+ * @param string $mtToken
+ * @return FacepayProxyVerifyUserInfoRequest
+ */
+ public function setMtToken($mtToken)
+ {
+ $this->mtToken = $mtToken;
+
+ return $this;
+ }
+
+ /**
+ * Gets memberNo
+ * @return string
+ */
+ public function getMemberNo()
+ {
+ return $this->memberNo;
+ }
+
+ /**
+ * Sets memberNo
+ * @param string $memberNo
+ * @return FacepayProxyVerifyUserInfoRequest
+ */
+ public function setMemberNo($memberNo)
+ {
+ $this->memberNo = $memberNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'facepayProxyVerifyUserInfo';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoRequestMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoRequestMarshaller.php
new file mode 100644
index 0000000..4dc786a
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getName() != null) {
+ $internalRequest->addParameter('name',
+ ObjectSerializer::sanitizeForSerialization($request->getName(), 'string'));
+ }
+ if ($request->getCertificateNo() != null) {
+ $internalRequest->addParameter('certificateNo',
+ ObjectSerializer::sanitizeForSerialization($request->getCertificateNo(), 'string'));
+ }
+ if ($request->getBizSystem() != null) {
+ $internalRequest->addParameter('bizSystem',
+ ObjectSerializer::sanitizeForSerialization($request->getBizSystem(), 'string'));
+ }
+ if ($request->getMtToken() != null) {
+ $internalRequest->addParameter('mtToken',
+ ObjectSerializer::sanitizeForSerialization($request->getMtToken(), 'string'));
+ }
+ if ($request->getMemberNo() != null) {
+ $internalRequest->addParameter('memberNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemberNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FacepayProxyVerifyUserInfoRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoResponse.php b/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoResponse.php
new file mode 100644
index 0000000..8e1aa83
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return FacepayProxyVerifyUserInfoUserInfoResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoResponseUnMarshaller.php b/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoResponseUnMarshaller.php
new file mode 100644
index 0000000..ea8c0b4
--- /dev/null
+++ b/lib/Service/Facepay/Model/FacepayProxyVerifyUserInfoResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * FacepayProxyVerifyUserInfoUserInfoResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class FacepayProxyVerifyUserInfoUserInfoResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'FacepayProxyVerifyUserInfoUserInfoResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenOAuth2TokenResponseResult.php b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenOAuth2TokenResponseResult.php
new file mode 100644
index 0000000..ac2bfed
--- /dev/null
+++ b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenOAuth2TokenResponseResult.php
@@ -0,0 +1,374 @@
+Facepay是一款部署在支付公司的应用内刷脸支付产品,用于代替现有的H5形态的快捷支付产品、以刷脸技术来代替短信验证啊技术,在app环境中提供安全,快捷,不可抵赖的支付体验。
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Facepay\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OAuth2TokenGenerateTokenOAuth2TokenResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OAuth2TokenGenerateTokenOAuth2TokenResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OAuth2TokenGenerateTokenOAuth2TokenResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'acctoken' => 'string',
+ 'expiresIn' => 'int',
+ 'expiration' => 'string',
+ 'merchantNo' => 'string',
+ 'code' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'acctoken' => null,
+ 'expiresIn' => 'int32',
+ 'expiration' => 'date-time',
+ 'merchantNo' => null,
+ 'code' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'acctoken' => 'acctoken',
+ 'expiresIn' => 'expiresIn',
+ 'expiration' => 'expiration',
+ 'merchantNo' => 'merchantNo',
+ 'code' => 'code',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'acctoken' => 'setAcctoken',
+ 'expiresIn' => 'setExpiresIn',
+ 'expiration' => 'setExpiration',
+ 'merchantNo' => 'setMerchantNo',
+ 'code' => 'setCode',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'acctoken' => 'getAcctoken',
+ 'expiresIn' => 'getExpiresIn',
+ 'expiration' => 'getExpiration',
+ 'merchantNo' => 'getMerchantNo',
+ 'code' => 'getCode',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['acctoken'] = isset($data['acctoken']) ? $data['acctoken'] : null;
+ $this->container['expiresIn'] = isset($data['expiresIn']) ? $data['expiresIn'] : null;
+ $this->container['expiration'] = isset($data['expiration']) ? $data['expiration'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets acctoken
+ * @return string
+ */
+ public function getAcctoken()
+ {
+ return $this->container['acctoken'];
+ }
+
+ /**
+ * Sets acctoken
+ * @param string $acctoken 未命名
+ * @return $this
+ */
+ public function setAcctoken($acctoken)
+ {
+ $this->container['acctoken'] = $acctoken;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiresIn
+ * @return int
+ */
+ public function getExpiresIn()
+ {
+ return $this->container['expiresIn'];
+ }
+
+ /**
+ * Sets expiresIn
+ * @param int $expiresIn 未命名
+ * @return $this
+ */
+ public function setExpiresIn($expiresIn)
+ {
+ $this->container['expiresIn'] = $expiresIn;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiration
+ * @return string
+ */
+ public function getExpiration()
+ {
+ return $this->container['expiration'];
+ }
+
+ /**
+ * Sets expiration
+ * @param string $expiration 未命名
+ * @return $this
+ */
+ public function setExpiration($expiration)
+ {
+ $this->container['expiration'] = $expiration;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 未命名
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 未命名
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenRequest.php b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenRequest.php
new file mode 100644
index 0000000..12f7f69
--- /dev/null
+++ b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenRequest.php
@@ -0,0 +1,41 @@
+userId;
+ }
+
+ /**
+ * Sets userId
+ * @param string $userId
+ * @return OAuth2TokenGenerateTokenRequest
+ */
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'oAuth2TokenGenerateToken';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenRequestMarshaller.php b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenRequestMarshaller.php
new file mode 100644
index 0000000..9155d81
--- /dev/null
+++ b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenRequestMarshaller.php
@@ -0,0 +1,81 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getUserId() != null) {
+ $internalRequest->addParameter('userId',
+ ObjectSerializer::sanitizeForSerialization($request->getUserId(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+OAuth2TokenGenerateTokenRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenResponse.php b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenResponse.php
new file mode 100644
index 0000000..10925b0
--- /dev/null
+++ b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return OAuth2TokenGenerateTokenOAuth2TokenResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenResponseUnMarshaller.php b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenResponseUnMarshaller.php
new file mode 100644
index 0000000..6b2b25c
--- /dev/null
+++ b/lib/Service/Facepay/Model/OAuth2TokenGenerateTokenResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+string0;
+ }
+
+ /**
+ * Sets string0
+ * @param string $string0
+ * @return SosDeleteBindNoRequest
+ */
+ public function setString0($string0)
+ {
+ $this->string0 = $string0;
+
+ return $this;
+ }
+
+ /**
+ * Gets string1
+ * @return string
+ */
+ public function getString1()
+ {
+ return $this->string1;
+ }
+
+ /**
+ * Sets string1
+ * @param string $string1
+ * @return SosDeleteBindNoRequest
+ */
+ public function setString1($string1)
+ {
+ $this->string1 = $string1;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'sosDeleteBindNo';
+ }
+
+}
diff --git a/lib/Service/Facepay/Model/SosDeleteBindNoRequestMarshaller.php b/lib/Service/Facepay/Model/SosDeleteBindNoRequestMarshaller.php
new file mode 100644
index 0000000..8dd066b
--- /dev/null
+++ b/lib/Service/Facepay/Model/SosDeleteBindNoRequestMarshaller.php
@@ -0,0 +1,85 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getString0() != null) {
+ $internalRequest->addParameter('string0',
+ ObjectSerializer::sanitizeForSerialization($request->getString0(), 'string'));
+ }
+ if ($request->getString1() != null) {
+ $internalRequest->addParameter('string1',
+ ObjectSerializer::sanitizeForSerialization($request->getString1(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SosDeleteBindNoRequestMarshaller::__init();
diff --git a/lib/Service/Facepay/Model/SosDeleteBindNoResponse.php b/lib/Service/Facepay/Model/SosDeleteBindNoResponse.php
new file mode 100644
index 0000000..32ee625
--- /dev/null
+++ b/lib/Service/Facepay/Model/SosDeleteBindNoResponse.php
@@ -0,0 +1,10 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\BankTransferPayRequest $request
+ * @return Model\BankTransferPayResponse
+ * @throws YopClientException
+ */
+ public function bankTransferPay(Model\BankTransferPayRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BankTransferPayRequestMarshaller::getInstance(),
+ Model\BankTransferPayResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BankTransferQueryRequest $request
+ * @return Model\BankTransferQueryResponse
+ * @throws YopClientException
+ */
+ public function bankTransferQuery(Model\BankTransferQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BankTransferQueryRequestMarshaller::getInstance(),
+ Model\BankTransferQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardConfirmRequest $request
+ * @return Model\BindcardConfirmResponse
+ * @throws YopClientException
+ */
+ public function bindcardConfirm(Model\BindcardConfirmRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardConfirmRequestMarshaller::getInstance(),
+ Model\BindcardConfirmResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardConfirm0Request $request
+ * @return Model\BindcardConfirm0Response
+ * @throws YopClientException
+ */
+ public function bindcardConfirm_0(Model\BindcardConfirm0Request $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardConfirm0RequestMarshaller::getInstance(),
+ Model\BindcardConfirm0ResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardGetcardbinRequest $request
+ * @return Model\BindcardGetcardbinResponse
+ * @throws YopClientException
+ */
+ public function bindcardGetcardbin(Model\BindcardGetcardbinRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardGetcardbinRequestMarshaller::getInstance(),
+ Model\BindcardGetcardbinResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardQueryorderRequest $request
+ * @return Model\BindcardQueryorderResponse
+ * @throws YopClientException
+ */
+ public function bindcardQueryorder(Model\BindcardQueryorderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardQueryorderRequestMarshaller::getInstance(),
+ Model\BindcardQueryorderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardRequestRequest $request
+ * @return Model\BindcardRequestResponse
+ * @throws YopClientException
+ */
+ public function bindcardRequest(Model\BindcardRequestRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardRequestRequestMarshaller::getInstance(),
+ Model\BindcardRequestResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardRequest0Request $request
+ * @return Model\BindcardRequest0Response
+ * @throws YopClientException
+ */
+ public function bindcardRequest_0(Model\BindcardRequest0Request $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardRequest0RequestMarshaller::getInstance(),
+ Model\BindcardRequest0ResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindcardResendsmsRequest $request
+ * @return Model\BindcardResendsmsResponse
+ * @throws YopClientException
+ */
+ public function bindcardResendsms(Model\BindcardResendsmsRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindcardResendsmsRequestMarshaller::getInstance(),
+ Model\BindcardResendsmsResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindpayConfirmRequest $request
+ * @return Model\BindpayConfirmResponse
+ * @throws YopClientException
+ */
+ public function bindpayConfirm(Model\BindpayConfirmRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindpayConfirmRequestMarshaller::getInstance(),
+ Model\BindpayConfirmResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindpayRequestRequest $request
+ * @return Model\BindpayRequestResponse
+ * @throws YopClientException
+ */
+ public function bindpayRequest(Model\BindpayRequestRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindpayRequestRequestMarshaller::getInstance(),
+ Model\BindpayRequestResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BindpaySendsmsRequest $request
+ * @return Model\BindpaySendsmsResponse
+ * @throws YopClientException
+ */
+ public function bindpaySendsms(Model\BindpaySendsmsRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BindpaySendsmsRequestMarshaller::getInstance(),
+ Model\BindpaySendsmsResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\GetcardbinRequest $request
+ * @return Model\GetcardbinResponse
+ * @throws YopClientException
+ */
+ public function getcardbin(Model\GetcardbinRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\GetcardbinRequestMarshaller::getInstance(),
+ Model\GetcardbinResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\YjzfBindpayrequestRequest $request
+ * @return Model\YjzfBindpayrequestResponse
+ * @throws YopClientException
+ */
+ public function yjzfBindpayrequest(Model\YjzfBindpayrequestRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\YjzfBindpayrequestRequestMarshaller::getInstance(),
+ Model\YjzfBindpayrequestResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\YjzfFirstpayrequestRequest $request
+ * @return Model\YjzfFirstpayrequestResponse
+ * @throws YopClientException
+ */
+ public function yjzfFirstpayrequest(Model\YjzfFirstpayrequestRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\YjzfFirstpayrequestRequestMarshaller::getInstance(),
+ Model\YjzfFirstpayrequestResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\YjzfPaymentconfirmRequest $request
+ * @return Model\YjzfPaymentconfirmResponse
+ * @throws YopClientException
+ */
+ public function yjzfPaymentconfirm(Model\YjzfPaymentconfirmRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\YjzfPaymentconfirmRequestMarshaller::getInstance(),
+ Model\YjzfPaymentconfirmResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\YjzfSendsmsRequest $request
+ * @return Model\YjzfSendsmsResponse
+ * @throws YopClientException
+ */
+ public function yjzfSendsms(Model\YjzfSendsmsRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\YjzfSendsmsRequestMarshaller::getInstance(),
+ Model\YjzfSendsmsResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Frontcashier/FrontcashierClientBuilder.php b/lib/Service/Frontcashier/FrontcashierClientBuilder.php
new file mode 100644
index 0000000..434d044
--- /dev/null
+++ b/lib/Service/Frontcashier/FrontcashierClientBuilder.php
@@ -0,0 +1,100 @@
+register('bankTransferPay',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bankTransferQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindcardConfirm',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindcardConfirm_0',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindcardGetcardbin',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindcardQueryorder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindcardRequest',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindcardRequest_0',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindpayConfirm',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindpayRequest',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bindpaySendsms',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('getcardbin',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('yjzfBindpayrequest',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('yjzfFirstpayrequest',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('yjzfPaymentconfirm',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('yjzfSendsms',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * FrontcashierClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new FrontcashierClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return FrontcashierClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new FrontcashierClientBuilder($clientParams);
+ }
+
+}
+
+FrontcashierClientBuilder::__init();
diff --git a/lib/Service/Frontcashier/Model/BankTransferPayAPIOfflineTransferResponseDTOResult.php b/lib/Service/Frontcashier/Model/BankTransferPayAPIOfflineTransferResponseDTOResult.php
new file mode 100644
index 0000000..d2dccb3
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferPayAPIOfflineTransferResponseDTOResult.php
@@ -0,0 +1,455 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BankTransferPayAPIOfflineTransferResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BankTransferPayAPIOfflineTransferResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BankTransferPayAPIOfflineTransferResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'msg' => 'string',
+ 'payStatus' => 'string',
+ 'receiveName' => 'string',
+ 'receiveAccountNo' => 'string',
+ 'accountName' => 'string',
+ 'areaInfo' => 'string',
+ 'amount' => 'float',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'msg' => null,
+ 'payStatus' => null,
+ 'receiveName' => null,
+ 'receiveAccountNo' => null,
+ 'accountName' => null,
+ 'areaInfo' => null,
+ 'amount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'msg' => 'msg',
+ 'payStatus' => 'payStatus',
+ 'receiveName' => 'receiveName',
+ 'receiveAccountNo' => 'receiveAccountNo',
+ 'accountName' => 'accountName',
+ 'areaInfo' => 'areaInfo',
+ 'amount' => 'amount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'msg' => 'setMsg',
+ 'payStatus' => 'setPayStatus',
+ 'receiveName' => 'setReceiveName',
+ 'receiveAccountNo' => 'setReceiveAccountNo',
+ 'accountName' => 'setAccountName',
+ 'areaInfo' => 'setAreaInfo',
+ 'amount' => 'setAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'msg' => 'getMsg',
+ 'payStatus' => 'getPayStatus',
+ 'receiveName' => 'getReceiveName',
+ 'receiveAccountNo' => 'getReceiveAccountNo',
+ 'accountName' => 'getAccountName',
+ 'areaInfo' => 'getAreaInfo',
+ 'amount' => 'getAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['msg'] = isset($data['msg']) ? $data['msg'] : null;
+ $this->container['payStatus'] = isset($data['payStatus']) ? $data['payStatus'] : null;
+ $this->container['receiveName'] = isset($data['receiveName']) ? $data['receiveName'] : null;
+ $this->container['receiveAccountNo'] = isset($data['receiveAccountNo']) ? $data['receiveAccountNo'] : null;
+ $this->container['accountName'] = isset($data['accountName']) ? $data['accountName'] : null;
+ $this->container['areaInfo'] = isset($data['areaInfo']) ? $data['areaInfo'] : null;
+ $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets msg
+ * @return string
+ */
+ public function getMsg()
+ {
+ return $this->container['msg'];
+ }
+
+ /**
+ * Sets msg
+ * @param string $msg 返回信息
+ * @return $this
+ */
+ public function setMsg($msg)
+ {
+ $this->container['msg'] = $msg;
+
+ return $this;
+ }
+
+ /**
+ * Gets payStatus
+ * @return string
+ */
+ public function getPayStatus()
+ {
+ return $this->container['payStatus'];
+ }
+
+ /**
+ * Sets payStatus
+ * @param string $payStatus 支付状态
+ * @return $this
+ */
+ public function setPayStatus($payStatus)
+ {
+ $this->container['payStatus'] = $payStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveName
+ * @return string
+ */
+ public function getReceiveName()
+ {
+ return $this->container['receiveName'];
+ }
+
+ /**
+ * Sets receiveName
+ * @param string $receiveName 收款方名称
+ * @return $this
+ */
+ public function setReceiveName($receiveName)
+ {
+ $this->container['receiveName'] = $receiveName;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveAccountNo
+ * @return string
+ */
+ public function getReceiveAccountNo()
+ {
+ return $this->container['receiveAccountNo'];
+ }
+
+ /**
+ * Sets receiveAccountNo
+ * @param string $receiveAccountNo 收款方账号
+ * @return $this
+ */
+ public function setReceiveAccountNo($receiveAccountNo)
+ {
+ $this->container['receiveAccountNo'] = $receiveAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountName
+ * @return string
+ */
+ public function getAccountName()
+ {
+ return $this->container['accountName'];
+ }
+
+ /**
+ * Sets accountName
+ * @param string $accountName 收款方开户行
+ * @return $this
+ */
+ public function setAccountName($accountName)
+ {
+ $this->container['accountName'] = $accountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets areaInfo
+ * @return string
+ */
+ public function getAreaInfo()
+ {
+ return $this->container['areaInfo'];
+ }
+
+ /**
+ * Sets areaInfo
+ * @param string $areaInfo 省市/地区
+ * @return $this
+ */
+ public function setAreaInfo($areaInfo)
+ {
+ $this->container['areaInfo'] = $areaInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->container['amount'];
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount 转账金额
+ * @return $this
+ */
+ public function setAmount($amount)
+ {
+ $this->container['amount'] = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BankTransferPayRequest.php b/lib/Service/Frontcashier/Model/BankTransferPayRequest.php
new file mode 100644
index 0000000..582093f
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferPayRequest.php
@@ -0,0 +1,275 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BankTransferPayRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BankTransferPayRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return BankTransferPayRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount
+ * @return BankTransferPayRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return BankTransferPayRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return BankTransferPayRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return BankTransferPayRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return BankTransferPayRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return BankTransferPayRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets csUrl
+ * @return string
+ */
+ public function getCsUrl()
+ {
+ return $this->csUrl;
+ }
+
+ /**
+ * Sets csUrl
+ * @param string $csUrl
+ * @return BankTransferPayRequest
+ */
+ public function setCsUrl($csUrl)
+ {
+ $this->csUrl = $csUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bankTransferPay';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BankTransferPayRequestMarshaller.php b/lib/Service/Frontcashier/Model/BankTransferPayRequestMarshaller.php
new file mode 100644
index 0000000..ba47224
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferPayRequestMarshaller.php
@@ -0,0 +1,117 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'float'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string', 'date-time'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getCsUrl() != null) {
+ $internalRequest->addParameter('csUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getCsUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BankTransferPayRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BankTransferPayResponse.php b/lib/Service/Frontcashier/Model/BankTransferPayResponse.php
new file mode 100644
index 0000000..9b50d1d
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferPayResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BankTransferPayAPIOfflineTransferResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BankTransferPayResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BankTransferPayResponseUnMarshaller.php
new file mode 100644
index 0000000..606322b
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferPayResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BankTransferQueryAPIOfflineTransferQueryResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BankTransferQueryAPIOfflineTransferQueryResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BankTransferQueryAPIOfflineTransferQueryResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'msg' => 'string',
+ 'receiveName' => 'string',
+ 'receiveAccountNo' => 'string',
+ 'accountName' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'msg' => null,
+ 'receiveName' => null,
+ 'receiveAccountNo' => null,
+ 'accountName' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'msg' => 'msg',
+ 'receiveName' => 'receiveName',
+ 'receiveAccountNo' => 'receiveAccountNo',
+ 'accountName' => 'accountName',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'msg' => 'setMsg',
+ 'receiveName' => 'setReceiveName',
+ 'receiveAccountNo' => 'setReceiveAccountNo',
+ 'accountName' => 'setAccountName',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'msg' => 'getMsg',
+ 'receiveName' => 'getReceiveName',
+ 'receiveAccountNo' => 'getReceiveAccountNo',
+ 'accountName' => 'getAccountName',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['msg'] = isset($data['msg']) ? $data['msg'] : null;
+ $this->container['receiveName'] = isset($data['receiveName']) ? $data['receiveName'] : null;
+ $this->container['receiveAccountNo'] = isset($data['receiveAccountNo']) ? $data['receiveAccountNo'] : null;
+ $this->container['accountName'] = isset($data['accountName']) ? $data['accountName'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets msg
+ * @return string
+ */
+ public function getMsg()
+ {
+ return $this->container['msg'];
+ }
+
+ /**
+ * Sets msg
+ * @param string $msg 返回信息
+ * @return $this
+ */
+ public function setMsg($msg)
+ {
+ $this->container['msg'] = $msg;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveName
+ * @return string
+ */
+ public function getReceiveName()
+ {
+ return $this->container['receiveName'];
+ }
+
+ /**
+ * Sets receiveName
+ * @param string $receiveName 收款方名称
+ * @return $this
+ */
+ public function setReceiveName($receiveName)
+ {
+ $this->container['receiveName'] = $receiveName;
+
+ return $this;
+ }
+
+ /**
+ * Gets receiveAccountNo
+ * @return string
+ */
+ public function getReceiveAccountNo()
+ {
+ return $this->container['receiveAccountNo'];
+ }
+
+ /**
+ * Sets receiveAccountNo
+ * @param string $receiveAccountNo 收款方账号
+ * @return $this
+ */
+ public function setReceiveAccountNo($receiveAccountNo)
+ {
+ $this->container['receiveAccountNo'] = $receiveAccountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountName
+ * @return string
+ */
+ public function getAccountName()
+ {
+ return $this->container['accountName'];
+ }
+
+ /**
+ * Sets accountName
+ * @param string $accountName 收款方开户行
+ * @return $this
+ */
+ public function setAccountName($accountName)
+ {
+ $this->container['accountName'] = $accountName;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BankTransferQueryRequest.php b/lib/Service/Frontcashier/Model/BankTransferQueryRequest.php
new file mode 100644
index 0000000..c9fd80b
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BankTransferQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BankTransferQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return BankTransferQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bankTransferQuery';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BankTransferQueryRequestMarshaller.php b/lib/Service/Frontcashier/Model/BankTransferQueryRequestMarshaller.php
new file mode 100644
index 0000000..23eb4a5
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BankTransferQueryRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BankTransferQueryResponse.php b/lib/Service/Frontcashier/Model/BankTransferQueryResponse.php
new file mode 100644
index 0000000..13bb34f
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BankTransferQueryAPIOfflineTransferQueryResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BankTransferQueryResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BankTransferQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..5723397
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BankTransferQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BindcardConfirm0Request
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->merchantFlowId;
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId
+ * @return BindcardConfirm0Request
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->merchantFlowId = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets smsCode
+ * @return string
+ */
+ public function getSmsCode()
+ {
+ return $this->smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return BindcardConfirm0Request
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardConfirm_0';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirm0RequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardConfirm0RequestMarshaller.php
new file mode 100644
index 0000000..4bda779
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirm0RequestMarshaller.php
@@ -0,0 +1,89 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantFlowId() != null) {
+ $internalRequest->addParameter('merchantFlowId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantFlowId(), 'string'));
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindcardConfirm0RequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirm0Response.php b/lib/Service/Frontcashier/Model/BindcardConfirm0Response.php
new file mode 100644
index 0000000..906c4c8
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirm0Response.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardConfirmOpenAuthBindCardConfirmResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirm0ResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardConfirm0ResponseUnMarshaller.php
new file mode 100644
index 0000000..1ede616
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirm0ResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindcardConfirmOpenAuthBindCardConfirmResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindcardConfirmOpenAuthBindCardConfirmResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindcardConfirmOpenAuthBindCardConfirmResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'merchantFlowId' => 'string',
+ 'nopOrderId' => 'string',
+ 'bindId' => 'string',
+ 'signStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'merchantFlowId' => null,
+ 'nopOrderId' => null,
+ 'bindId' => null,
+ 'signStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'merchantFlowId' => 'merchantFlowId',
+ 'nopOrderId' => 'nopOrderId',
+ 'bindId' => 'bindId',
+ 'signStatus' => 'signStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'merchantFlowId' => 'setMerchantFlowId',
+ 'nopOrderId' => 'setNopOrderId',
+ 'bindId' => 'setBindId',
+ 'signStatus' => 'setSignStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'merchantFlowId' => 'getMerchantFlowId',
+ 'nopOrderId' => 'getNopOrderId',
+ 'bindId' => 'getBindId',
+ 'signStatus' => 'getSignStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['merchantFlowId'] = isset($data['merchantFlowId']) ? $data['merchantFlowId'] : null;
+ $this->container['nopOrderId'] = isset($data['nopOrderId']) ? $data['nopOrderId'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ $this->container['signStatus'] = isset($data['signStatus']) ? $data['signStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 主商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->container['merchantFlowId'];
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId 原商户绑卡请求号
+ * @return $this
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->container['merchantFlowId'] = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets nopOrderId
+ * @return string
+ */
+ public function getNopOrderId()
+ {
+ return $this->container['nopOrderId'];
+ }
+
+ /**
+ * Sets nopOrderId
+ * @param string $nopOrderId 易宝绑卡订单号
+ * @return $this
+ */
+ public function setNopOrderId($nopOrderId)
+ {
+ $this->container['nopOrderId'] = $nopOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId 绑卡ID
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets signStatus
+ * @return string
+ */
+ public function getSignStatus()
+ {
+ return $this->container['signStatus'];
+ }
+
+ /**
+ * Sets signStatus
+ * @param string $signStatus 签约状态
+ * @return $this
+ */
+ public function setSignStatus($signStatus)
+ {
+ $this->container['signStatus'] = $signStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirmRequest.php b/lib/Service/Frontcashier/Model/BindcardConfirmRequest.php
new file mode 100644
index 0000000..3b188a4
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirmRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BindcardConfirmRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BindcardConfirmRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->merchantFlowId;
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId
+ * @return BindcardConfirmRequest
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->merchantFlowId = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets empower
+ * @return bool
+ */
+ public function getEmpower()
+ {
+ return $this->empower;
+ }
+
+ /**
+ * Sets empower
+ * @param bool $empower
+ * @return BindcardConfirmRequest
+ */
+ public function setEmpower($empower)
+ {
+ $this->empower = $empower;
+
+ return $this;
+ }
+
+ /**
+ * Gets smsCode
+ * @return string
+ */
+ public function getSmsCode()
+ {
+ return $this->smsCode;
+ }
+
+ /**
+ * Sets smsCode
+ * @param string $smsCode
+ * @return BindcardConfirmRequest
+ */
+ public function setSmsCode($smsCode)
+ {
+ $this->smsCode = $smsCode;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardConfirm';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirmRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardConfirmRequestMarshaller.php
new file mode 100644
index 0000000..108c44e
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirmRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantFlowId() != null) {
+ $internalRequest->addParameter('merchantFlowId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantFlowId(), 'string'));
+ }
+ if ($request->getEmpower() != null) {
+ $internalRequest->addParameter('empower',
+ ObjectSerializer::sanitizeForSerialization($request->getEmpower(), 'bool'));
+ }
+ if ($request->getSmsCode() != null) {
+ $internalRequest->addParameter('smsCode',
+ ObjectSerializer::sanitizeForSerialization($request->getSmsCode(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindcardConfirmRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirmResponse.php b/lib/Service/Frontcashier/Model/BindcardConfirmResponse.php
new file mode 100644
index 0000000..82b393b
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirmResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardConfirmOpenAuthBindCardConfirmResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardConfirmResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardConfirmResponseUnMarshaller.php
new file mode 100644
index 0000000..697e0b0
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardConfirmResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindcardGetcardbinOpenQueryCardbinResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindcardGetcardbinOpenQueryCardbinResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindcardGetcardbinOpenQueryCardbinResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'bankCardType' => 'string',
+ 'bankName' => 'string',
+ 'bankCode' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'bankCardType' => null,
+ 'bankName' => null,
+ 'bankCode' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'bankCardType' => 'bankCardType',
+ 'bankName' => 'bankName',
+ 'bankCode' => 'bankCode',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'bankCardType' => 'setBankCardType',
+ 'bankName' => 'setBankName',
+ 'bankCode' => 'setBankCode',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'bankCardType' => 'getBankCardType',
+ 'bankName' => 'getBankName',
+ 'bankCode' => 'getBankCode',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['bankCardType'] = isset($data['bankCardType']) ? $data['bankCardType'] : null;
+ $this->container['bankName'] = isset($data['bankName']) ? $data['bankName'] : null;
+ $this->container['bankCode'] = isset($data['bankCode']) ? $data['bankCode'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 交易发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 收单商户商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardType
+ * @return string
+ */
+ public function getBankCardType()
+ {
+ return $this->container['bankCardType'];
+ }
+
+ /**
+ * Sets bankCardType
+ * @param string $bankCardType 卡类型
+ * @return $this
+ */
+ public function setBankCardType($bankCardType)
+ {
+ $this->container['bankCardType'] = $bankCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankName
+ * @return string
+ */
+ public function getBankName()
+ {
+ return $this->container['bankName'];
+ }
+
+ /**
+ * Sets bankName
+ * @param string $bankName 银行名称
+ * @return $this
+ */
+ public function setBankName($bankName)
+ {
+ $this->container['bankName'] = $bankName;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->container['bankCode'];
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode 银行编码
+ * @return $this
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->container['bankCode'] = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindcardGetcardbinRequest.php b/lib/Service/Frontcashier/Model/BindcardGetcardbinRequest.php
new file mode 100644
index 0000000..67c4bd3
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardGetcardbinRequest.php
@@ -0,0 +1,119 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BindcardGetcardbinRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BindcardGetcardbinRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return BindcardGetcardbinRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardType
+ * @return string
+ */
+ public function getCardType()
+ {
+ return $this->cardType;
+ }
+
+ /**
+ * Sets cardType
+ * @param string $cardType
+ * @return BindcardGetcardbinRequest
+ */
+ public function setCardType($cardType)
+ {
+ $this->cardType = $cardType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardGetcardbin';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardGetcardbinRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardGetcardbinRequestMarshaller.php
new file mode 100644
index 0000000..fc857fe
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardGetcardbinRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getCardType() != null) {
+ $internalRequest->addParameter('cardType',
+ ObjectSerializer::sanitizeForSerialization($request->getCardType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindcardGetcardbinRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardGetcardbinResponse.php b/lib/Service/Frontcashier/Model/BindcardGetcardbinResponse.php
new file mode 100644
index 0000000..bcef642
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardGetcardbinResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardGetcardbinOpenQueryCardbinResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardGetcardbinResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardGetcardbinResponseUnMarshaller.php
new file mode 100644
index 0000000..a773055
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardGetcardbinResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindcardQueryorderOpenQueryOrderResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindcardQueryorderOpenQueryOrderResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindcardQueryorderOpenQueryOrderResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'merchantFlowId' => 'string',
+ 'nopOrderId' => 'string',
+ 'orderStatus' => 'string',
+ 'signStatus' => 'string',
+ 'userNo' => 'string',
+ 'userType' => 'string',
+ 'entrustProtocolId' => 'string',
+ 'collectAmount' => 'float',
+ 'collectBeginDate' => 'string',
+ 'collectEndDate' => 'string',
+ 'cycleFrequency' => 'int',
+ 'cycleStep' => 'int',
+ 'cycleStepUnit' => 'string',
+ 'submitMethod' => 'string',
+ 'submitUrl' => 'string',
+ 'encoding' => 'string',
+ 'bankCardNo' => 'string',
+ 'userName' => 'string',
+ 'idCardNo' => 'string',
+ 'idCardType' => 'string',
+ 'phone' => 'string',
+ 'bankCode' => 'string',
+ 'signSuccessNotifyUrl' => 'string',
+ 'bindId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'merchantFlowId' => null,
+ 'nopOrderId' => null,
+ 'orderStatus' => null,
+ 'signStatus' => null,
+ 'userNo' => null,
+ 'userType' => null,
+ 'entrustProtocolId' => null,
+ 'collectAmount' => null,
+ 'collectBeginDate' => 'date-time',
+ 'collectEndDate' => 'date-time',
+ 'cycleFrequency' => 'int32',
+ 'cycleStep' => 'int32',
+ 'cycleStepUnit' => null,
+ 'submitMethod' => null,
+ 'submitUrl' => null,
+ 'encoding' => null,
+ 'bankCardNo' => null,
+ 'userName' => null,
+ 'idCardNo' => null,
+ 'idCardType' => null,
+ 'phone' => null,
+ 'bankCode' => null,
+ 'signSuccessNotifyUrl' => null,
+ 'bindId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'merchantFlowId' => 'merchantFlowId',
+ 'nopOrderId' => 'nopOrderId',
+ 'orderStatus' => 'orderStatus',
+ 'signStatus' => 'signStatus',
+ 'userNo' => 'userNo',
+ 'userType' => 'userType',
+ 'entrustProtocolId' => 'entrustProtocolId',
+ 'collectAmount' => 'collectAmount',
+ 'collectBeginDate' => 'collectBeginDate',
+ 'collectEndDate' => 'collectEndDate',
+ 'cycleFrequency' => 'cycleFrequency',
+ 'cycleStep' => 'cycleStep',
+ 'cycleStepUnit' => 'cycleStepUnit',
+ 'submitMethod' => 'submitMethod',
+ 'submitUrl' => 'submitUrl',
+ 'encoding' => 'encoding',
+ 'bankCardNo' => 'bankCardNo',
+ 'userName' => 'userName',
+ 'idCardNo' => 'idCardNo',
+ 'idCardType' => 'idCardType',
+ 'phone' => 'phone',
+ 'bankCode' => 'bankCode',
+ 'signSuccessNotifyUrl' => 'signSuccessNotifyUrl',
+ 'bindId' => 'bindId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'merchantFlowId' => 'setMerchantFlowId',
+ 'nopOrderId' => 'setNopOrderId',
+ 'orderStatus' => 'setOrderStatus',
+ 'signStatus' => 'setSignStatus',
+ 'userNo' => 'setUserNo',
+ 'userType' => 'setUserType',
+ 'entrustProtocolId' => 'setEntrustProtocolId',
+ 'collectAmount' => 'setCollectAmount',
+ 'collectBeginDate' => 'setCollectBeginDate',
+ 'collectEndDate' => 'setCollectEndDate',
+ 'cycleFrequency' => 'setCycleFrequency',
+ 'cycleStep' => 'setCycleStep',
+ 'cycleStepUnit' => 'setCycleStepUnit',
+ 'submitMethod' => 'setSubmitMethod',
+ 'submitUrl' => 'setSubmitUrl',
+ 'encoding' => 'setEncoding',
+ 'bankCardNo' => 'setBankCardNo',
+ 'userName' => 'setUserName',
+ 'idCardNo' => 'setIdCardNo',
+ 'idCardType' => 'setIdCardType',
+ 'phone' => 'setPhone',
+ 'bankCode' => 'setBankCode',
+ 'signSuccessNotifyUrl' => 'setSignSuccessNotifyUrl',
+ 'bindId' => 'setBindId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'merchantFlowId' => 'getMerchantFlowId',
+ 'nopOrderId' => 'getNopOrderId',
+ 'orderStatus' => 'getOrderStatus',
+ 'signStatus' => 'getSignStatus',
+ 'userNo' => 'getUserNo',
+ 'userType' => 'getUserType',
+ 'entrustProtocolId' => 'getEntrustProtocolId',
+ 'collectAmount' => 'getCollectAmount',
+ 'collectBeginDate' => 'getCollectBeginDate',
+ 'collectEndDate' => 'getCollectEndDate',
+ 'cycleFrequency' => 'getCycleFrequency',
+ 'cycleStep' => 'getCycleStep',
+ 'cycleStepUnit' => 'getCycleStepUnit',
+ 'submitMethod' => 'getSubmitMethod',
+ 'submitUrl' => 'getSubmitUrl',
+ 'encoding' => 'getEncoding',
+ 'bankCardNo' => 'getBankCardNo',
+ 'userName' => 'getUserName',
+ 'idCardNo' => 'getIdCardNo',
+ 'idCardType' => 'getIdCardType',
+ 'phone' => 'getPhone',
+ 'bankCode' => 'getBankCode',
+ 'signSuccessNotifyUrl' => 'getSignSuccessNotifyUrl',
+ 'bindId' => 'getBindId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['merchantFlowId'] = isset($data['merchantFlowId']) ? $data['merchantFlowId'] : null;
+ $this->container['nopOrderId'] = isset($data['nopOrderId']) ? $data['nopOrderId'] : null;
+ $this->container['orderStatus'] = isset($data['orderStatus']) ? $data['orderStatus'] : null;
+ $this->container['signStatus'] = isset($data['signStatus']) ? $data['signStatus'] : null;
+ $this->container['userNo'] = isset($data['userNo']) ? $data['userNo'] : null;
+ $this->container['userType'] = isset($data['userType']) ? $data['userType'] : null;
+ $this->container['entrustProtocolId'] = isset($data['entrustProtocolId']) ? $data['entrustProtocolId'] : null;
+ $this->container['collectAmount'] = isset($data['collectAmount']) ? $data['collectAmount'] : null;
+ $this->container['collectBeginDate'] = isset($data['collectBeginDate']) ? $data['collectBeginDate'] : null;
+ $this->container['collectEndDate'] = isset($data['collectEndDate']) ? $data['collectEndDate'] : null;
+ $this->container['cycleFrequency'] = isset($data['cycleFrequency']) ? $data['cycleFrequency'] : null;
+ $this->container['cycleStep'] = isset($data['cycleStep']) ? $data['cycleStep'] : null;
+ $this->container['cycleStepUnit'] = isset($data['cycleStepUnit']) ? $data['cycleStepUnit'] : null;
+ $this->container['submitMethod'] = isset($data['submitMethod']) ? $data['submitMethod'] : null;
+ $this->container['submitUrl'] = isset($data['submitUrl']) ? $data['submitUrl'] : null;
+ $this->container['encoding'] = isset($data['encoding']) ? $data['encoding'] : null;
+ $this->container['bankCardNo'] = isset($data['bankCardNo']) ? $data['bankCardNo'] : null;
+ $this->container['userName'] = isset($data['userName']) ? $data['userName'] : null;
+ $this->container['idCardNo'] = isset($data['idCardNo']) ? $data['idCardNo'] : null;
+ $this->container['idCardType'] = isset($data['idCardType']) ? $data['idCardType'] : null;
+ $this->container['phone'] = isset($data['phone']) ? $data['phone'] : null;
+ $this->container['bankCode'] = isset($data['bankCode']) ? $data['bankCode'] : null;
+ $this->container['signSuccessNotifyUrl'] = isset($data['signSuccessNotifyUrl']) ? $data['signSuccessNotifyUrl'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 收单商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->container['merchantFlowId'];
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId 商户签约/绑卡请求号
+ * @return $this
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->container['merchantFlowId'] = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets nopOrderId
+ * @return string
+ */
+ public function getNopOrderId()
+ {
+ return $this->container['nopOrderId'];
+ }
+
+ /**
+ * Sets nopOrderId
+ * @param string $nopOrderId 易宝订单号
+ * @return $this
+ */
+ public function setNopOrderId($nopOrderId)
+ {
+ $this->container['nopOrderId'] = $nopOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderStatus
+ * @return string
+ */
+ public function getOrderStatus()
+ {
+ return $this->container['orderStatus'];
+ }
+
+ /**
+ * Sets orderStatus
+ * @param string $orderStatus 订单状态
+ * @return $this
+ */
+ public function setOrderStatus($orderStatus)
+ {
+ $this->container['orderStatus'] = $orderStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets signStatus
+ * @return string
+ */
+ public function getSignStatus()
+ {
+ return $this->container['signStatus'];
+ }
+
+ /**
+ * Sets signStatus
+ * @param string $signStatus 银行签约状态
+ * @return $this
+ */
+ public function setSignStatus($signStatus)
+ {
+ $this->container['signStatus'] = $signStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets userNo
+ * @return string
+ */
+ public function getUserNo()
+ {
+ return $this->container['userNo'];
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo 用户标识
+ * @return $this
+ */
+ public function setUserNo($userNo)
+ {
+ $this->container['userNo'] = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->container['userType'];
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType 用户标识类型
+ * @return $this
+ */
+ public function setUserType($userType)
+ {
+ $this->container['userType'] = $userType;
+
+ return $this;
+ }
+
+ /**
+ * Gets entrustProtocolId
+ * @return string
+ */
+ public function getEntrustProtocolId()
+ {
+ return $this->container['entrustProtocolId'];
+ }
+
+ /**
+ * Sets entrustProtocolId
+ * @param string $entrustProtocolId 商业委托协议ID,仅商业委托返回
+ * @return $this
+ */
+ public function setEntrustProtocolId($entrustProtocolId)
+ {
+ $this->container['entrustProtocolId'] = $entrustProtocolId;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectAmount
+ * @return float
+ */
+ public function getCollectAmount()
+ {
+ return $this->container['collectAmount'];
+ }
+
+ /**
+ * Sets collectAmount
+ * @param float $collectAmount 代收金额,仅商业委托返回
+ * @return $this
+ */
+ public function setCollectAmount($collectAmount)
+ {
+ $this->container['collectAmount'] = $collectAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectBeginDate
+ * @return string
+ */
+ public function getCollectBeginDate()
+ {
+ return $this->container['collectBeginDate'];
+ }
+
+ /**
+ * Sets collectBeginDate
+ * @param string $collectBeginDate 代收开始时间,仅商业委托返回
+ * @return $this
+ */
+ public function setCollectBeginDate($collectBeginDate)
+ {
+ $this->container['collectBeginDate'] = $collectBeginDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets collectEndDate
+ * @return string
+ */
+ public function getCollectEndDate()
+ {
+ return $this->container['collectEndDate'];
+ }
+
+ /**
+ * Sets collectEndDate
+ * @param string $collectEndDate 代收结束时间,仅商业委托返回
+ * @return $this
+ */
+ public function setCollectEndDate($collectEndDate)
+ {
+ $this->container['collectEndDate'] = $collectEndDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets cycleFrequency
+ * @return int
+ */
+ public function getCycleFrequency()
+ {
+ return $this->container['cycleFrequency'];
+ }
+
+ /**
+ * Sets cycleFrequency
+ * @param int $cycleFrequency 代收频次,仅商业委托返回
+ * @return $this
+ */
+ public function setCycleFrequency($cycleFrequency)
+ {
+ $this->container['cycleFrequency'] = $cycleFrequency;
+
+ return $this;
+ }
+
+ /**
+ * Gets cycleStep
+ * @return int
+ */
+ public function getCycleStep()
+ {
+ return $this->container['cycleStep'];
+ }
+
+ /**
+ * Sets cycleStep
+ * @param int $cycleStep 代收步长,仅商业委托返回
+ * @return $this
+ */
+ public function setCycleStep($cycleStep)
+ {
+ $this->container['cycleStep'] = $cycleStep;
+
+ return $this;
+ }
+
+ /**
+ * Gets cycleStepUnit
+ * @return string
+ */
+ public function getCycleStepUnit()
+ {
+ return $this->container['cycleStepUnit'];
+ }
+
+ /**
+ * Sets cycleStepUnit
+ * @param string $cycleStepUnit 代收周期单位,仅商业委托返回
+ * @return $this
+ */
+ public function setCycleStepUnit($cycleStepUnit)
+ {
+ $this->container['cycleStepUnit'] = $cycleStepUnit;
+
+ return $this;
+ }
+
+ /**
+ * Gets submitMethod
+ * @return string
+ */
+ public function getSubmitMethod()
+ {
+ return $this->container['submitMethod'];
+ }
+
+ /**
+ * Sets submitMethod
+ * @param string $submitMethod 跳页签约提交方式,仅跳页签约返回
+ * @return $this
+ */
+ public function setSubmitMethod($submitMethod)
+ {
+ $this->container['submitMethod'] = $submitMethod;
+
+ return $this;
+ }
+
+ /**
+ * Gets submitUrl
+ * @return string
+ */
+ public function getSubmitUrl()
+ {
+ return $this->container['submitUrl'];
+ }
+
+ /**
+ * Sets submitUrl
+ * @param string $submitUrl 跳页签约url,仅跳页签约返回
+ * @return $this
+ */
+ public function setSubmitUrl($submitUrl)
+ {
+ $this->container['submitUrl'] = $submitUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets encoding
+ * @return string
+ */
+ public function getEncoding()
+ {
+ return $this->container['encoding'];
+ }
+
+ /**
+ * Sets encoding
+ * @param string $encoding 跳页页面编码,仅跳页签约返回
+ * @return $this
+ */
+ public function setEncoding($encoding)
+ {
+ $this->container['encoding'] = $encoding;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->container['bankCardNo'];
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo 银行卡号
+ * @return $this
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->container['bankCardNo'] = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userName
+ * @return string
+ */
+ public function getUserName()
+ {
+ return $this->container['userName'];
+ }
+
+ /**
+ * Sets userName
+ * @param string $userName 姓名
+ * @return $this
+ */
+ public function setUserName($userName)
+ {
+ $this->container['userName'] = $userName;
+
+ return $this;
+ }
+
+ /**
+ * Gets idCardNo
+ * @return string
+ */
+ public function getIdCardNo()
+ {
+ return $this->container['idCardNo'];
+ }
+
+ /**
+ * Sets idCardNo
+ * @param string $idCardNo 证件号
+ * @return $this
+ */
+ public function setIdCardNo($idCardNo)
+ {
+ $this->container['idCardNo'] = $idCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets idCardType
+ * @return string
+ */
+ public function getIdCardType()
+ {
+ return $this->container['idCardType'];
+ }
+
+ /**
+ * Sets idCardType
+ * @param string $idCardType 证件类型
+ * @return $this
+ */
+ public function setIdCardType($idCardType)
+ {
+ $this->container['idCardType'] = $idCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets phone
+ * @return string
+ */
+ public function getPhone()
+ {
+ return $this->container['phone'];
+ }
+
+ /**
+ * Sets phone
+ * @param string $phone 银行预留手机号
+ * @return $this
+ */
+ public function setPhone($phone)
+ {
+ $this->container['phone'] = $phone;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->container['bankCode'];
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode 银行编码
+ * @return $this
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->container['bankCode'] = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets signSuccessNotifyUrl
+ * @return string
+ */
+ public function getSignSuccessNotifyUrl()
+ {
+ return $this->container['signSuccessNotifyUrl'];
+ }
+
+ /**
+ * Sets signSuccessNotifyUrl
+ * @param string $signSuccessNotifyUrl 跳页签约回调地址,仅跳页签约返回
+ * @return $this
+ */
+ public function setSignSuccessNotifyUrl($signSuccessNotifyUrl)
+ {
+ $this->container['signSuccessNotifyUrl'] = $signSuccessNotifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId 签约/绑卡ID
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindcardQueryorderRequest.php b/lib/Service/Frontcashier/Model/BindcardQueryorderRequest.php
new file mode 100644
index 0000000..2122b85
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardQueryorderRequest.php
@@ -0,0 +1,119 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BindcardQueryorderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->merchantFlowId;
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId
+ * @return BindcardQueryorderRequest
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->merchantFlowId = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets nopOrderId
+ * @return string
+ */
+ public function getNopOrderId()
+ {
+ return $this->nopOrderId;
+ }
+
+ /**
+ * Sets nopOrderId
+ * @param string $nopOrderId
+ * @return BindcardQueryorderRequest
+ */
+ public function setNopOrderId($nopOrderId)
+ {
+ $this->nopOrderId = $nopOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets phone
+ * @return string
+ */
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+
+ /**
+ * Sets phone
+ * @param string $phone
+ * @return BindcardQueryorderRequest
+ */
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardQueryorder';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardQueryorderRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardQueryorderRequestMarshaller.php
new file mode 100644
index 0000000..7af42f0
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardQueryorderRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantFlowId() != null) {
+ $internalRequest->addParameter('merchantFlowId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantFlowId(), 'string'));
+ }
+ if ($request->getNopOrderId() != null) {
+ $internalRequest->addParameter('nopOrderId',
+ ObjectSerializer::sanitizeForSerialization($request->getNopOrderId(), 'string'));
+ }
+ if ($request->getPhone() != null) {
+ $internalRequest->addParameter('phone',
+ ObjectSerializer::sanitizeForSerialization($request->getPhone(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindcardQueryorderRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardQueryorderResponse.php b/lib/Service/Frontcashier/Model/BindcardQueryorderResponse.php
new file mode 100644
index 0000000..4b84609
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardQueryorderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardQueryorderOpenQueryOrderResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardQueryorderResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardQueryorderResponseUnMarshaller.php
new file mode 100644
index 0000000..847cd72
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardQueryorderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BindcardRequest0Request
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->merchantFlowId;
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId
+ * @return BindcardRequest0Request
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->merchantFlowId = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userNo
+ * @return string
+ */
+ public function getUserNo()
+ {
+ return $this->userNo;
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo
+ * @return BindcardRequest0Request
+ */
+ public function setUserNo($userNo)
+ {
+ $this->userNo = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->userType;
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType
+ * @return BindcardRequest0Request
+ */
+ public function setUserType($userType)
+ {
+ $this->userType = $userType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return BindcardRequest0Request
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userName
+ * @return string
+ */
+ public function getUserName()
+ {
+ return $this->userName;
+ }
+
+ /**
+ * Sets userName
+ * @param string $userName
+ * @return BindcardRequest0Request
+ */
+ public function setUserName($userName)
+ {
+ $this->userName = $userName;
+
+ return $this;
+ }
+
+ /**
+ * Gets idCardNo
+ * @return string
+ */
+ public function getIdCardNo()
+ {
+ return $this->idCardNo;
+ }
+
+ /**
+ * Sets idCardNo
+ * @param string $idCardNo
+ * @return BindcardRequest0Request
+ */
+ public function setIdCardNo($idCardNo)
+ {
+ $this->idCardNo = $idCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phone
+ * @return string
+ */
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+
+ /**
+ * Sets phone
+ * @param string $phone
+ * @return BindcardRequest0Request
+ */
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return BindcardRequest0Request
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets validthru
+ * @return string
+ */
+ public function getValidthru()
+ {
+ return $this->validthru;
+ }
+
+ /**
+ * Sets validthru
+ * @param string $validthru
+ * @return BindcardRequest0Request
+ */
+ public function setValidthru($validthru)
+ {
+ $this->validthru = $validthru;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderValidate
+ * @return int
+ */
+ public function getOrderValidate()
+ {
+ return $this->orderValidate;
+ }
+
+ /**
+ * Sets orderValidate
+ * @param int $orderValidate
+ * @return BindcardRequest0Request
+ */
+ public function setOrderValidate($orderValidate)
+ {
+ $this->orderValidate = $orderValidate;
+
+ return $this;
+ }
+
+ /**
+ * Gets authType
+ * @return string
+ */
+ public function getAuthType()
+ {
+ return $this->authType;
+ }
+
+ /**
+ * Sets authType
+ * @param string $authType
+ * @return BindcardRequest0Request
+ */
+ public function setAuthType($authType)
+ {
+ $this->authType = $authType;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardType
+ * @return string
+ */
+ public function getCardType()
+ {
+ return $this->cardType;
+ }
+
+ /**
+ * Sets cardType
+ * @param string $cardType
+ * @return BindcardRequest0Request
+ */
+ public function setCardType($cardType)
+ {
+ $this->cardType = $cardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets isSMS
+ * @return string
+ */
+ public function getIsSMS()
+ {
+ return $this->isSMS;
+ }
+
+ /**
+ * Sets isSMS
+ * @param string $isSMS
+ * @return BindcardRequest0Request
+ */
+ public function setIsSMS($isSMS)
+ {
+ $this->isSMS = $isSMS;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardRequest_0';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardRequest0RequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardRequest0RequestMarshaller.php
new file mode 100644
index 0000000..1ff001c
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequest0RequestMarshaller.php
@@ -0,0 +1,133 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantFlowId() != null) {
+ $internalRequest->addParameter('merchantFlowId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantFlowId(), 'string'));
+ }
+ if ($request->getUserNo() != null) {
+ $internalRequest->addParameter('userNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUserNo(), 'string'));
+ }
+ if ($request->getUserType() != null) {
+ $internalRequest->addParameter('userType',
+ ObjectSerializer::sanitizeForSerialization($request->getUserType(), 'string'));
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getUserName() != null) {
+ $internalRequest->addParameter('userName',
+ ObjectSerializer::sanitizeForSerialization($request->getUserName(), 'string'));
+ }
+ if ($request->getIdCardNo() != null) {
+ $internalRequest->addParameter('idCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdCardNo(), 'string'));
+ }
+ if ($request->getPhone() != null) {
+ $internalRequest->addParameter('phone',
+ ObjectSerializer::sanitizeForSerialization($request->getPhone(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getValidthru() != null) {
+ $internalRequest->addParameter('validthru',
+ ObjectSerializer::sanitizeForSerialization($request->getValidthru(), 'string'));
+ }
+ if ($request->getOrderValidate() != null) {
+ $internalRequest->addParameter('orderValidate',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderValidate(), 'int', 'int32'));
+ }
+ if ($request->getAuthType() != null) {
+ $internalRequest->addParameter('authType',
+ ObjectSerializer::sanitizeForSerialization($request->getAuthType(), 'string'));
+ }
+ if ($request->getCardType() != null) {
+ $internalRequest->addParameter('cardType',
+ ObjectSerializer::sanitizeForSerialization($request->getCardType(), 'string'));
+ }
+ if ($request->getIsSMS() != null) {
+ $internalRequest->addParameter('isSMS',
+ ObjectSerializer::sanitizeForSerialization($request->getIsSMS(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindcardRequest0RequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardRequest0Response.php b/lib/Service/Frontcashier/Model/BindcardRequest0Response.php
new file mode 100644
index 0000000..2a917d2
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequest0Response.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardRequestOpenAuthBindCardResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardRequest0ResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardRequest0ResponseUnMarshaller.php
new file mode 100644
index 0000000..2150b1d
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequest0ResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindcardRequestOpenAuthBindCardResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindcardRequestOpenAuthBindCardResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindcardRequestOpenAuthBindCardResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'merchantFlowId' => 'string',
+ 'nopOrderId' => 'string',
+ 'bindId' => 'string',
+ 'signStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'merchantFlowId' => null,
+ 'nopOrderId' => null,
+ 'bindId' => null,
+ 'signStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'merchantFlowId' => 'merchantFlowId',
+ 'nopOrderId' => 'nopOrderId',
+ 'bindId' => 'bindId',
+ 'signStatus' => 'signStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'merchantFlowId' => 'setMerchantFlowId',
+ 'nopOrderId' => 'setNopOrderId',
+ 'bindId' => 'setBindId',
+ 'signStatus' => 'setSignStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'merchantFlowId' => 'getMerchantFlowId',
+ 'nopOrderId' => 'getNopOrderId',
+ 'bindId' => 'getBindId',
+ 'signStatus' => 'getSignStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['merchantFlowId'] = isset($data['merchantFlowId']) ? $data['merchantFlowId'] : null;
+ $this->container['nopOrderId'] = isset($data['nopOrderId']) ? $data['nopOrderId'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ $this->container['signStatus'] = isset($data['signStatus']) ? $data['signStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 主商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->container['merchantFlowId'];
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId 绑卡请求号
+ * @return $this
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->container['merchantFlowId'] = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets nopOrderId
+ * @return string
+ */
+ public function getNopOrderId()
+ {
+ return $this->container['nopOrderId'];
+ }
+
+ /**
+ * Sets nopOrderId
+ * @param string $nopOrderId 易宝绑卡流水号
+ * @return $this
+ */
+ public function setNopOrderId($nopOrderId)
+ {
+ $this->container['nopOrderId'] = $nopOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId 绑卡ID
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets signStatus
+ * @return string
+ */
+ public function getSignStatus()
+ {
+ return $this->container['signStatus'];
+ }
+
+ /**
+ * Sets signStatus
+ * @param string $signStatus 签约状态
+ * @return $this
+ */
+ public function setSignStatus($signStatus)
+ {
+ $this->container['signStatus'] = $signStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindcardRequestRequest.php b/lib/Service/Frontcashier/Model/BindcardRequestRequest.php
new file mode 100644
index 0000000..0eb7a04
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequestRequest.php
@@ -0,0 +1,457 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BindcardRequestRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BindcardRequestRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->merchantFlowId;
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId
+ * @return BindcardRequestRequest
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->merchantFlowId = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userNo
+ * @return string
+ */
+ public function getUserNo()
+ {
+ return $this->userNo;
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo
+ * @return BindcardRequestRequest
+ */
+ public function setUserNo($userNo)
+ {
+ $this->userNo = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->userType;
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType
+ * @return BindcardRequestRequest
+ */
+ public function setUserType($userType)
+ {
+ $this->userType = $userType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return BindcardRequestRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userName
+ * @return string
+ */
+ public function getUserName()
+ {
+ return $this->userName;
+ }
+
+ /**
+ * Sets userName
+ * @param string $userName
+ * @return BindcardRequestRequest
+ */
+ public function setUserName($userName)
+ {
+ $this->userName = $userName;
+
+ return $this;
+ }
+
+ /**
+ * Gets idCardNo
+ * @return string
+ */
+ public function getIdCardNo()
+ {
+ return $this->idCardNo;
+ }
+
+ /**
+ * Sets idCardNo
+ * @param string $idCardNo
+ * @return BindcardRequestRequest
+ */
+ public function setIdCardNo($idCardNo)
+ {
+ $this->idCardNo = $idCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phone
+ * @return string
+ */
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+
+ /**
+ * Sets phone
+ * @param string $phone
+ * @return BindcardRequestRequest
+ */
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return BindcardRequestRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets validthru
+ * @return string
+ */
+ public function getValidthru()
+ {
+ return $this->validthru;
+ }
+
+ /**
+ * Sets validthru
+ * @param string $validthru
+ * @return BindcardRequestRequest
+ */
+ public function setValidthru($validthru)
+ {
+ $this->validthru = $validthru;
+
+ return $this;
+ }
+
+ /**
+ * Gets riskParamExt
+ * @return string
+ */
+ public function getRiskParamExt()
+ {
+ return $this->riskParamExt;
+ }
+
+ /**
+ * Sets riskParamExt
+ * @param string $riskParamExt
+ * @return BindcardRequestRequest
+ */
+ public function setRiskParamExt($riskParamExt)
+ {
+ $this->riskParamExt = $riskParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderValidate
+ * @return int
+ */
+ public function getOrderValidate()
+ {
+ return $this->orderValidate;
+ }
+
+ /**
+ * Sets orderValidate
+ * @param int $orderValidate
+ * @return BindcardRequestRequest
+ */
+ public function setOrderValidate($orderValidate)
+ {
+ $this->orderValidate = $orderValidate;
+
+ return $this;
+ }
+
+ /**
+ * Gets authType
+ * @return string
+ */
+ public function getAuthType()
+ {
+ return $this->authType;
+ }
+
+ /**
+ * Sets authType
+ * @param string $authType
+ * @return BindcardRequestRequest
+ */
+ public function setAuthType($authType)
+ {
+ $this->authType = $authType;
+
+ return $this;
+ }
+
+ /**
+ * Gets empower
+ * @return bool
+ */
+ public function getEmpower()
+ {
+ return $this->empower;
+ }
+
+ /**
+ * Sets empower
+ * @param bool $empower
+ * @return BindcardRequestRequest
+ */
+ public function setEmpower($empower)
+ {
+ $this->empower = $empower;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardType
+ * @return string
+ */
+ public function getCardType()
+ {
+ return $this->cardType;
+ }
+
+ /**
+ * Sets cardType
+ * @param string $cardType
+ * @return BindcardRequestRequest
+ */
+ public function setCardType($cardType)
+ {
+ $this->cardType = $cardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets isSMS
+ * @return bool
+ */
+ public function getIsSMS()
+ {
+ return $this->isSMS;
+ }
+
+ /**
+ * Sets isSMS
+ * @param bool $isSMS
+ * @return BindcardRequestRequest
+ */
+ public function setIsSMS($isSMS)
+ {
+ $this->isSMS = $isSMS;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardRequest';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardRequestRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardRequestRequestMarshaller.php
new file mode 100644
index 0000000..b320a12
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequestRequestMarshaller.php
@@ -0,0 +1,145 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantFlowId() != null) {
+ $internalRequest->addParameter('merchantFlowId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantFlowId(), 'string'));
+ }
+ if ($request->getUserNo() != null) {
+ $internalRequest->addParameter('userNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUserNo(), 'string'));
+ }
+ if ($request->getUserType() != null) {
+ $internalRequest->addParameter('userType',
+ ObjectSerializer::sanitizeForSerialization($request->getUserType(), 'string'));
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getUserName() != null) {
+ $internalRequest->addParameter('userName',
+ ObjectSerializer::sanitizeForSerialization($request->getUserName(), 'string'));
+ }
+ if ($request->getIdCardNo() != null) {
+ $internalRequest->addParameter('idCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdCardNo(), 'string'));
+ }
+ if ($request->getPhone() != null) {
+ $internalRequest->addParameter('phone',
+ ObjectSerializer::sanitizeForSerialization($request->getPhone(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getValidthru() != null) {
+ $internalRequest->addParameter('validthru',
+ ObjectSerializer::sanitizeForSerialization($request->getValidthru(), 'string'));
+ }
+ if ($request->getRiskParamExt() != null) {
+ $internalRequest->addParameter('riskParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->getRiskParamExt(), 'string'));
+ }
+ if ($request->getOrderValidate() != null) {
+ $internalRequest->addParameter('orderValidate',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderValidate(), 'int', 'int32'));
+ }
+ if ($request->getAuthType() != null) {
+ $internalRequest->addParameter('authType',
+ ObjectSerializer::sanitizeForSerialization($request->getAuthType(), 'string'));
+ }
+ if ($request->getEmpower() != null) {
+ $internalRequest->addParameter('empower',
+ ObjectSerializer::sanitizeForSerialization($request->getEmpower(), 'bool'));
+ }
+ if ($request->getCardType() != null) {
+ $internalRequest->addParameter('cardType',
+ ObjectSerializer::sanitizeForSerialization($request->getCardType(), 'string'));
+ }
+ if ($request->getIsSMS() != null) {
+ $internalRequest->addParameter('isSMS',
+ ObjectSerializer::sanitizeForSerialization($request->getIsSMS(), 'bool'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindcardRequestRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardRequestResponse.php b/lib/Service/Frontcashier/Model/BindcardRequestResponse.php
new file mode 100644
index 0000000..b9c058c
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequestResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardRequestOpenAuthBindCardResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindcardRequestResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardRequestResponseUnMarshaller.php
new file mode 100644
index 0000000..7ca9d01
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardRequestResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'merchantFlowId' => 'string',
+ 'nopOrderId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'merchantFlowId' => null,
+ 'nopOrderId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'merchantFlowId' => 'merchantFlowId',
+ 'nopOrderId' => 'nopOrderId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'merchantFlowId' => 'setMerchantFlowId',
+ 'nopOrderId' => 'setNopOrderId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'merchantFlowId' => 'getMerchantFlowId',
+ 'nopOrderId' => 'getNopOrderId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['merchantFlowId'] = isset($data['merchantFlowId']) ? $data['merchantFlowId'] : null;
+ $this->container['nopOrderId'] = isset($data['nopOrderId']) ? $data['nopOrderId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 主商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->container['merchantFlowId'];
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId 绑卡请求号
+ * @return $this
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->container['merchantFlowId'] = $merchantFlowId;
+
+ return $this;
+ }
+
+ /**
+ * Gets nopOrderId
+ * @return string
+ */
+ public function getNopOrderId()
+ {
+ return $this->container['nopOrderId'];
+ }
+
+ /**
+ * Sets nopOrderId
+ * @param string $nopOrderId 易宝绑卡流水号
+ * @return $this
+ */
+ public function setNopOrderId($nopOrderId)
+ {
+ $this->container['nopOrderId'] = $nopOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Service/Frontcashier/Model/BindcardResendsmsRequest.php b/lib/Service/Frontcashier/Model/BindcardResendsmsRequest.php
new file mode 100644
index 0000000..f9f8fce
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardResendsmsRequest.php
@@ -0,0 +1,65 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BindcardResendsmsRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFlowId
+ * @return string
+ */
+ public function getMerchantFlowId()
+ {
+ return $this->merchantFlowId;
+ }
+
+ /**
+ * Sets merchantFlowId
+ * @param string $merchantFlowId
+ * @return BindcardResendsmsRequest
+ */
+ public function setMerchantFlowId($merchantFlowId)
+ {
+ $this->merchantFlowId = $merchantFlowId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindcardResendsms';
+ }
+}
\ No newline at end of file
diff --git a/lib/Service/Frontcashier/Model/BindcardResendsmsRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindcardResendsmsRequestMarshaller.php
new file mode 100644
index 0000000..14c06f0
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardResendsmsRequestMarshaller.php
@@ -0,0 +1,83 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantFlowId() != null) {
+ $internalRequest->addParameter('merchantFlowId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantFlowId(), 'string'));
+ }
+
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+}
+BindcardResendsmsRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindcardResendsmsResponse.php b/lib/Service/Frontcashier/Model/BindcardResendsmsResponse.php
new file mode 100644
index 0000000..e094f5f
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardResendsmsResponse.php
@@ -0,0 +1,34 @@
+result = $result;
+ }
+
+ /**
+ * @return BindcardResendsmsOpenAuthBindCardResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+}
\ No newline at end of file
diff --git a/lib/Service/Frontcashier/Model/BindcardResendsmsResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindcardResendsmsResponseUnMarshaller.php
new file mode 100644
index 0000000..8a405aa
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindcardResendsmsResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindpayConfirmApiBindPayConfirmResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindpayConfirmApiBindPayConfirmResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindpayConfirmApiBindPayConfirmResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'recordId' => 'string',
+ 'token' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'recordId' => null,
+ 'token' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'recordId' => 'recordId',
+ 'token' => 'token',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'recordId' => 'setRecordId',
+ 'token' => 'setToken',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'recordId' => 'getRecordId',
+ 'token' => 'getToken',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 未命名
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 未命名
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindpayConfirmRequest.php b/lib/Service/Frontcashier/Model/BindpayConfirmRequest.php
new file mode 100644
index 0000000..a86711a
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayConfirmRequest.php
@@ -0,0 +1,327 @@
+token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return BindpayConfirmRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return BindpayConfirmRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ /**
+ * Gets verifyCode
+ * @return string
+ */
+ public function getVerifyCode()
+ {
+ return $this->verifyCode;
+ }
+
+ /**
+ * Sets verifyCode
+ * @param string $verifyCode
+ * @return BindpayConfirmRequest
+ */
+ public function setVerifyCode($verifyCode)
+ {
+ $this->verifyCode = $verifyCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardno
+ * @return string
+ */
+ public function getCardno()
+ {
+ return $this->cardno;
+ }
+
+ /**
+ * Sets cardno
+ * @param string $cardno
+ * @return BindpayConfirmRequest
+ */
+ public function setCardno($cardno)
+ {
+ $this->cardno = $cardno;
+
+ return $this;
+ }
+
+ /**
+ * Gets owner
+ * @return string
+ */
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+
+ /**
+ * Sets owner
+ * @param string $owner
+ * @return BindpayConfirmRequest
+ */
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+
+ return $this;
+ }
+
+ /**
+ * Gets idno
+ * @return string
+ */
+ public function getIdno()
+ {
+ return $this->idno;
+ }
+
+ /**
+ * Sets idno
+ * @param string $idno
+ * @return BindpayConfirmRequest
+ */
+ public function setIdno($idno)
+ {
+ $this->idno = $idno;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNo
+ * @return string
+ */
+ public function getPhoneNo()
+ {
+ return $this->phoneNo;
+ }
+
+ /**
+ * Sets phoneNo
+ * @param string $phoneNo
+ * @return BindpayConfirmRequest
+ */
+ public function setPhoneNo($phoneNo)
+ {
+ $this->phoneNo = $phoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypMobile
+ * @return string
+ */
+ public function getYpMobile()
+ {
+ return $this->ypMobile;
+ }
+
+ /**
+ * Sets ypMobile
+ * @param string $ypMobile
+ * @return BindpayConfirmRequest
+ */
+ public function setYpMobile($ypMobile)
+ {
+ $this->ypMobile = $ypMobile;
+
+ return $this;
+ }
+
+ /**
+ * Gets avlidDate
+ * @return string
+ */
+ public function getAvlidDate()
+ {
+ return $this->avlidDate;
+ }
+
+ /**
+ * Sets avlidDate
+ * @param string $avlidDate
+ * @return BindpayConfirmRequest
+ */
+ public function setAvlidDate($avlidDate)
+ {
+ $this->avlidDate = $avlidDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return BindpayConfirmRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets idCardType
+ * @return string
+ */
+ public function getIdCardType()
+ {
+ return $this->idCardType;
+ }
+
+ /**
+ * Sets idCardType
+ * @param string $idCardType
+ * @return BindpayConfirmRequest
+ */
+ public function setIdCardType($idCardType)
+ {
+ $this->idCardType = $idCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPWD
+ * @return string
+ */
+ public function getBankPWD()
+ {
+ return $this->bankPWD;
+ }
+
+ /**
+ * Sets bankPWD
+ * @param string $bankPWD
+ * @return BindpayConfirmRequest
+ */
+ public function setBankPWD($bankPWD)
+ {
+ $this->bankPWD = $bankPWD;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindpayConfirm';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindpayConfirmRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindpayConfirmRequestMarshaller.php
new file mode 100644
index 0000000..f2c4bc4
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayConfirmRequestMarshaller.php
@@ -0,0 +1,125 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ if ($request->getVerifyCode() != null) {
+ $internalRequest->addParameter('verifyCode',
+ ObjectSerializer::sanitizeForSerialization($request->getVerifyCode(), 'string'));
+ }
+ if ($request->getCardno() != null) {
+ $internalRequest->addParameter('cardno',
+ ObjectSerializer::sanitizeForSerialization($request->getCardno(), 'string'));
+ }
+ if ($request->getOwner() != null) {
+ $internalRequest->addParameter('owner',
+ ObjectSerializer::sanitizeForSerialization($request->getOwner(), 'string'));
+ }
+ if ($request->getIdno() != null) {
+ $internalRequest->addParameter('idno',
+ ObjectSerializer::sanitizeForSerialization($request->getIdno(), 'string'));
+ }
+ if ($request->getPhoneNo() != null) {
+ $internalRequest->addParameter('phoneNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNo(), 'string'));
+ }
+ if ($request->getYpMobile() != null) {
+ $internalRequest->addParameter('ypMobile',
+ ObjectSerializer::sanitizeForSerialization($request->getYpMobile(), 'string'));
+ }
+ if ($request->getAvlidDate() != null) {
+ $internalRequest->addParameter('avlidDate',
+ ObjectSerializer::sanitizeForSerialization($request->getAvlidDate(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getIdCardType() != null) {
+ $internalRequest->addParameter('idCardType',
+ ObjectSerializer::sanitizeForSerialization($request->getIdCardType(), 'string'));
+ }
+ if ($request->getBankPWD() != null) {
+ $internalRequest->addParameter('bankPWD',
+ ObjectSerializer::sanitizeForSerialization($request->getBankPWD(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindpayConfirmRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindpayConfirmResponse.php b/lib/Service/Frontcashier/Model/BindpayConfirmResponse.php
new file mode 100644
index 0000000..ad2dce7
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayConfirmResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindpayConfirmApiBindPayConfirmResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindpayConfirmResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindpayConfirmResponseUnMarshaller.php
new file mode 100644
index 0000000..84c28af
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayConfirmResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindpayRequestApiBindPayPaymentResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindpayRequestApiBindPayPaymentResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindpayRequestApiBindPayPaymentResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'token' => 'string',
+ 'bindId' => 'string',
+ 'needItems' => 'string',
+ 'verifyCodeType' => 'string',
+ 'supplyNeedItemScene' => 'string',
+ 'recordId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'token' => null,
+ 'bindId' => null,
+ 'needItems' => null,
+ 'verifyCodeType' => null,
+ 'supplyNeedItemScene' => null,
+ 'recordId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'token' => 'token',
+ 'bindId' => 'bindId',
+ 'needItems' => 'needItems',
+ 'verifyCodeType' => 'verifyCodeType',
+ 'supplyNeedItemScene' => 'supplyNeedItemScene',
+ 'recordId' => 'recordId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'token' => 'setToken',
+ 'bindId' => 'setBindId',
+ 'needItems' => 'setNeedItems',
+ 'verifyCodeType' => 'setVerifyCodeType',
+ 'supplyNeedItemScene' => 'setSupplyNeedItemScene',
+ 'recordId' => 'setRecordId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'token' => 'getToken',
+ 'bindId' => 'getBindId',
+ 'needItems' => 'getNeedItems',
+ 'verifyCodeType' => 'getVerifyCodeType',
+ 'supplyNeedItemScene' => 'getSupplyNeedItemScene',
+ 'recordId' => 'getRecordId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ $this->container['needItems'] = isset($data['needItems']) ? $data['needItems'] : null;
+ $this->container['verifyCodeType'] = isset($data['verifyCodeType']) ? $data['verifyCodeType'] : null;
+ $this->container['supplyNeedItemScene'] = isset($data['supplyNeedItemScene']) ? $data['supplyNeedItemScene'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 结果码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId 绑卡ID
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets needItems
+ * @return string
+ */
+ public function getNeedItems()
+ {
+ return $this->container['needItems'];
+ }
+
+ /**
+ * Sets needItems
+ * @param string $needItems 需补充项名称的 集合,以\",\"分隔
+ * @return $this
+ */
+ public function setNeedItems($needItems)
+ {
+ $this->container['needItems'] = $needItems;
+
+ return $this;
+ }
+
+ /**
+ * Gets verifyCodeType
+ * @return string
+ */
+ public function getVerifyCodeType()
+ {
+ return $this->container['verifyCodeType'];
+ }
+
+ /**
+ * Sets verifyCodeType
+ * @param string $verifyCodeType 验证码类型
+ * @return $this
+ */
+ public function setVerifyCodeType($verifyCodeType)
+ {
+ $this->container['verifyCodeType'] = $verifyCodeType;
+
+ return $this;
+ }
+
+ /**
+ * Gets supplyNeedItemScene
+ * @return string
+ */
+ public function getSupplyNeedItemScene()
+ {
+ return $this->container['supplyNeedItemScene'];
+ }
+
+ /**
+ * Sets supplyNeedItemScene
+ * @param string $supplyNeedItemScene 提交补充项场景
+ * @return $this
+ */
+ public function setSupplyNeedItemScene($supplyNeedItemScene)
+ {
+ $this->container['supplyNeedItemScene'] = $supplyNeedItemScene;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 未命名
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindpayRequestRequest.php b/lib/Service/Frontcashier/Model/BindpayRequestRequest.php
new file mode 100644
index 0000000..abcd800
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayRequestRequest.php
@@ -0,0 +1,223 @@
+token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return BindpayRequestRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->bindId;
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId
+ * @return BindpayRequestRequest
+ */
+ public function setBindId($bindId)
+ {
+ $this->bindId = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userNo
+ * @return string
+ */
+ public function getUserNo()
+ {
+ return $this->userNo;
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo
+ * @return BindpayRequestRequest
+ */
+ public function setUserNo($userNo)
+ {
+ $this->userNo = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->userType;
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType
+ * @return BindpayRequestRequest
+ */
+ public function setUserType($userType)
+ {
+ $this->userType = $userType;
+
+ return $this;
+ }
+
+ /**
+ * Gets userIp
+ * @return string
+ */
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+
+ /**
+ * Sets userIp
+ * @param string $userIp
+ * @return BindpayRequestRequest
+ */
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return BindpayRequestRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ /**
+ * Gets extParamMap
+ * @return string
+ */
+ public function getExtParamMap()
+ {
+ return $this->extParamMap;
+ }
+
+ /**
+ * Sets extParamMap
+ * @param string $extParamMap
+ * @return BindpayRequestRequest
+ */
+ public function setExtParamMap($extParamMap)
+ {
+ $this->extParamMap = $extParamMap;
+
+ return $this;
+ }
+
+ /**
+ * Gets payMerchantNo
+ * @return string
+ */
+ public function getPayMerchantNo()
+ {
+ return $this->payMerchantNo;
+ }
+
+ /**
+ * Sets payMerchantNo
+ * @param string $payMerchantNo
+ * @return BindpayRequestRequest
+ */
+ public function setPayMerchantNo($payMerchantNo)
+ {
+ $this->payMerchantNo = $payMerchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindpayRequest';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindpayRequestRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindpayRequestRequestMarshaller.php
new file mode 100644
index 0000000..716b62e
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayRequestRequestMarshaller.php
@@ -0,0 +1,109 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getBindId() != null) {
+ $internalRequest->addParameter('bindId',
+ ObjectSerializer::sanitizeForSerialization($request->getBindId(), 'string'));
+ }
+ if ($request->getUserNo() != null) {
+ $internalRequest->addParameter('userNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUserNo(), 'string'));
+ }
+ if ($request->getUserType() != null) {
+ $internalRequest->addParameter('userType',
+ ObjectSerializer::sanitizeForSerialization($request->getUserType(), 'string'));
+ }
+ if ($request->getUserIp() != null) {
+ $internalRequest->addParameter('userIp',
+ ObjectSerializer::sanitizeForSerialization($request->getUserIp(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ if ($request->getExtParamMap() != null) {
+ $internalRequest->addParameter('extParamMap',
+ ObjectSerializer::sanitizeForSerialization($request->getExtParamMap(), 'string'));
+ }
+ if ($request->getPayMerchantNo() != null) {
+ $internalRequest->addParameter('payMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPayMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindpayRequestRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindpayRequestResponse.php b/lib/Service/Frontcashier/Model/BindpayRequestResponse.php
new file mode 100644
index 0000000..ec969c5
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayRequestResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindpayRequestApiBindPayPaymentResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindpayRequestResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindpayRequestResponseUnMarshaller.php
new file mode 100644
index 0000000..da8d595
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpayRequestResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BindpaySendsmsApiBindPaySendSmsResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BindpaySendsmsApiBindPaySendSmsResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BindpaySendsmsApiBindPaySendSmsResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'token' => 'string',
+ 'recordId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'token' => null,
+ 'recordId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'token' => 'token',
+ 'recordId' => 'recordId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'token' => 'setToken',
+ 'recordId' => 'setRecordId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'token' => 'getToken',
+ 'recordId' => 'getRecordId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 未命名
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/BindpaySendsmsRequest.php b/lib/Service/Frontcashier/Model/BindpaySendsmsRequest.php
new file mode 100644
index 0000000..44cf371
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpaySendsmsRequest.php
@@ -0,0 +1,301 @@
+token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return BindpaySendsmsRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return BindpaySendsmsRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardno
+ * @return string
+ */
+ public function getCardno()
+ {
+ return $this->cardno;
+ }
+
+ /**
+ * Sets cardno
+ * @param string $cardno
+ * @return BindpaySendsmsRequest
+ */
+ public function setCardno($cardno)
+ {
+ $this->cardno = $cardno;
+
+ return $this;
+ }
+
+ /**
+ * Gets owner
+ * @return string
+ */
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+
+ /**
+ * Sets owner
+ * @param string $owner
+ * @return BindpaySendsmsRequest
+ */
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+
+ return $this;
+ }
+
+ /**
+ * Gets idno
+ * @return string
+ */
+ public function getIdno()
+ {
+ return $this->idno;
+ }
+
+ /**
+ * Sets idno
+ * @param string $idno
+ * @return BindpaySendsmsRequest
+ */
+ public function setIdno($idno)
+ {
+ $this->idno = $idno;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNo
+ * @return string
+ */
+ public function getPhoneNo()
+ {
+ return $this->phoneNo;
+ }
+
+ /**
+ * Sets phoneNo
+ * @param string $phoneNo
+ * @return BindpaySendsmsRequest
+ */
+ public function setPhoneNo($phoneNo)
+ {
+ $this->phoneNo = $phoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypMobile
+ * @return string
+ */
+ public function getYpMobile()
+ {
+ return $this->ypMobile;
+ }
+
+ /**
+ * Sets ypMobile
+ * @param string $ypMobile
+ * @return BindpaySendsmsRequest
+ */
+ public function setYpMobile($ypMobile)
+ {
+ $this->ypMobile = $ypMobile;
+
+ return $this;
+ }
+
+ /**
+ * Gets avlidDate
+ * @return string
+ */
+ public function getAvlidDate()
+ {
+ return $this->avlidDate;
+ }
+
+ /**
+ * Sets avlidDate
+ * @param string $avlidDate
+ * @return BindpaySendsmsRequest
+ */
+ public function setAvlidDate($avlidDate)
+ {
+ $this->avlidDate = $avlidDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv2
+ * @return string
+ */
+ public function getCvv2()
+ {
+ return $this->cvv2;
+ }
+
+ /**
+ * Sets cvv2
+ * @param string $cvv2
+ * @return BindpaySendsmsRequest
+ */
+ public function setCvv2($cvv2)
+ {
+ $this->cvv2 = $cvv2;
+
+ return $this;
+ }
+
+ /**
+ * Gets idCardType
+ * @return string
+ */
+ public function getIdCardType()
+ {
+ return $this->idCardType;
+ }
+
+ /**
+ * Sets idCardType
+ * @param string $idCardType
+ * @return BindpaySendsmsRequest
+ */
+ public function setIdCardType($idCardType)
+ {
+ $this->idCardType = $idCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPWD
+ * @return string
+ */
+ public function getBankPWD()
+ {
+ return $this->bankPWD;
+ }
+
+ /**
+ * Sets bankPWD
+ * @param string $bankPWD
+ * @return BindpaySendsmsRequest
+ */
+ public function setBankPWD($bankPWD)
+ {
+ $this->bankPWD = $bankPWD;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bindpaySendsms';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindpaySendsmsRequestMarshaller.php b/lib/Service/Frontcashier/Model/BindpaySendsmsRequestMarshaller.php
new file mode 100644
index 0000000..55e956f
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpaySendsmsRequestMarshaller.php
@@ -0,0 +1,121 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ if ($request->getCardno() != null) {
+ $internalRequest->addParameter('cardno',
+ ObjectSerializer::sanitizeForSerialization($request->getCardno(), 'string'));
+ }
+ if ($request->getOwner() != null) {
+ $internalRequest->addParameter('owner',
+ ObjectSerializer::sanitizeForSerialization($request->getOwner(), 'string'));
+ }
+ if ($request->getIdno() != null) {
+ $internalRequest->addParameter('idno',
+ ObjectSerializer::sanitizeForSerialization($request->getIdno(), 'string'));
+ }
+ if ($request->getPhoneNo() != null) {
+ $internalRequest->addParameter('phoneNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNo(), 'string'));
+ }
+ if ($request->getYpMobile() != null) {
+ $internalRequest->addParameter('ypMobile',
+ ObjectSerializer::sanitizeForSerialization($request->getYpMobile(), 'string'));
+ }
+ if ($request->getAvlidDate() != null) {
+ $internalRequest->addParameter('avlidDate',
+ ObjectSerializer::sanitizeForSerialization($request->getAvlidDate(), 'string'));
+ }
+ if ($request->getCvv2() != null) {
+ $internalRequest->addParameter('cvv2',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv2(), 'string'));
+ }
+ if ($request->getIdCardType() != null) {
+ $internalRequest->addParameter('idCardType',
+ ObjectSerializer::sanitizeForSerialization($request->getIdCardType(), 'string'));
+ }
+ if ($request->getBankPWD() != null) {
+ $internalRequest->addParameter('bankPWD',
+ ObjectSerializer::sanitizeForSerialization($request->getBankPWD(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BindpaySendsmsRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/BindpaySendsmsResponse.php b/lib/Service/Frontcashier/Model/BindpaySendsmsResponse.php
new file mode 100644
index 0000000..6e02146
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpaySendsmsResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BindpaySendsmsApiBindPaySendSmsResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/BindpaySendsmsResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/BindpaySendsmsResponseUnMarshaller.php
new file mode 100644
index 0000000..788cf7e
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/BindpaySendsmsResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * GetcardbinRecognizeCardBinResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class GetcardbinRecognizeCardBinResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'GetcardbinRecognizeCardBinResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'bankCardType' => 'string',
+ 'bankName' => 'string',
+ 'bankCode' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bankCardType' => null,
+ 'bankName' => null,
+ 'bankCode' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bankCardType' => 'bankCardType',
+ 'bankName' => 'bankName',
+ 'bankCode' => 'bankCode',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bankCardType' => 'setBankCardType',
+ 'bankName' => 'setBankName',
+ 'bankCode' => 'setBankCode',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bankCardType' => 'getBankCardType',
+ 'bankName' => 'getBankName',
+ 'bankCode' => 'getBankCode',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bankCardType'] = isset($data['bankCardType']) ? $data['bankCardType'] : null;
+ $this->container['bankName'] = isset($data['bankName']) ? $data['bankName'] : null;
+ $this->container['bankCode'] = isset($data['bankCode']) ? $data['bankCode'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardType
+ * @return string
+ */
+ public function getBankCardType()
+ {
+ return $this->container['bankCardType'];
+ }
+
+ /**
+ * Sets bankCardType
+ * @param string $bankCardType 银行卡类型
+ * @return $this
+ */
+ public function setBankCardType($bankCardType)
+ {
+ $this->container['bankCardType'] = $bankCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankName
+ * @return string
+ */
+ public function getBankName()
+ {
+ return $this->container['bankName'];
+ }
+
+ /**
+ * Sets bankName
+ * @param string $bankName 银行名称
+ * @return $this
+ */
+ public function setBankName($bankName)
+ {
+ $this->container['bankName'] = $bankName;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->container['bankCode'];
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode 银行编码
+ * @return $this
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->container['bankCode'] = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/GetcardbinRequest.php b/lib/Service/Frontcashier/Model/GetcardbinRequest.php
new file mode 100644
index 0000000..923bf1a
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/GetcardbinRequest.php
@@ -0,0 +1,41 @@
+bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return GetcardbinRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'getcardbin';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/GetcardbinRequestMarshaller.php b/lib/Service/Frontcashier/Model/GetcardbinRequestMarshaller.php
new file mode 100644
index 0000000..c740326
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/GetcardbinRequestMarshaller.php
@@ -0,0 +1,81 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+GetcardbinRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/GetcardbinResponse.php b/lib/Service/Frontcashier/Model/GetcardbinResponse.php
new file mode 100644
index 0000000..754ec0f
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/GetcardbinResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return GetcardbinRecognizeCardBinResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/GetcardbinResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/GetcardbinResponseUnMarshaller.php
new file mode 100644
index 0000000..6acc42e
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/GetcardbinResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * YjzfBindpayrequestAPIYJZFBindPaymentResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class YjzfBindpayrequestAPIYJZFBindPaymentResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'YjzfBindpayrequestAPIYJZFBindPaymentResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'token' => 'string',
+ 'recordId' => 'string',
+ 'verifyCodeType' => 'string',
+ 'needItemScene' => 'string',
+ 'needItems' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'token' => null,
+ 'recordId' => null,
+ 'verifyCodeType' => null,
+ 'needItemScene' => null,
+ 'needItems' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'token' => 'token',
+ 'recordId' => 'recordId',
+ 'verifyCodeType' => 'verifyCodeType',
+ 'needItemScene' => 'needItemScene',
+ 'needItems' => 'needItems',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'token' => 'setToken',
+ 'recordId' => 'setRecordId',
+ 'verifyCodeType' => 'setVerifyCodeType',
+ 'needItemScene' => 'setNeedItemScene',
+ 'needItems' => 'setNeedItems',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'token' => 'getToken',
+ 'recordId' => 'getRecordId',
+ 'verifyCodeType' => 'getVerifyCodeType',
+ 'needItemScene' => 'getNeedItemScene',
+ 'needItems' => 'getNeedItems',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ $this->container['verifyCodeType'] = isset($data['verifyCodeType']) ? $data['verifyCodeType'] : null;
+ $this->container['needItemScene'] = isset($data['needItemScene']) ? $data['needItemScene'] : null;
+ $this->container['needItems'] = isset($data['needItems']) ? $data['needItems'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 支付记录流水号
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Gets verifyCodeType
+ * @return string
+ */
+ public function getVerifyCodeType()
+ {
+ return $this->container['verifyCodeType'];
+ }
+
+ /**
+ * Sets verifyCodeType
+ * @param string $verifyCodeType 验证码类型
+ * @return $this
+ */
+ public function setVerifyCodeType($verifyCodeType)
+ {
+ $this->container['verifyCodeType'] = $verifyCodeType;
+
+ return $this;
+ }
+
+ /**
+ * Gets needItemScene
+ * @return string
+ */
+ public function getNeedItemScene()
+ {
+ return $this->container['needItemScene'];
+ }
+
+ /**
+ * Sets needItemScene
+ * @param string $needItemScene 补充银行密码场景
+ * @return $this
+ */
+ public function setNeedItemScene($needItemScene)
+ {
+ $this->container['needItemScene'] = $needItemScene;
+
+ return $this;
+ }
+
+ /**
+ * Gets needItems
+ * @return string
+ */
+ public function getNeedItems()
+ {
+ return $this->container['needItems'];
+ }
+
+ /**
+ * Sets needItems
+ * @param string $needItems 需补充项名称的集合
+ * @return $this
+ */
+ public function setNeedItems($needItems)
+ {
+ $this->container['needItems'] = $needItems;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/YjzfBindpayrequestRequest.php b/lib/Service/Frontcashier/Model/YjzfBindpayrequestRequest.php
new file mode 100644
index 0000000..17713cc
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfBindpayrequestRequest.php
@@ -0,0 +1,197 @@
+bindId;
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setBindId($bindId)
+ {
+ $this->bindId = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Gets userNo
+ * @return string
+ */
+ public function getUserNo()
+ {
+ return $this->userNo;
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setUserNo($userNo)
+ {
+ $this->userNo = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->userType;
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setUserType($userType)
+ {
+ $this->userType = $userType;
+
+ return $this;
+ }
+
+ /**
+ * Gets userIp
+ * @return string
+ */
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+
+ /**
+ * Sets userIp
+ * @param string $userIp
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentExt
+ * @return string
+ */
+ public function getPaymentExt()
+ {
+ return $this->paymentExt;
+ }
+
+ /**
+ * Sets paymentExt
+ * @param string $paymentExt
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setPaymentExt($paymentExt)
+ {
+ $this->paymentExt = $paymentExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return YjzfBindpayrequestRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'yjzfBindpayrequest';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfBindpayrequestRequestMarshaller.php b/lib/Service/Frontcashier/Model/YjzfBindpayrequestRequestMarshaller.php
new file mode 100644
index 0000000..bc30963
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfBindpayrequestRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getBindId() != null) {
+ $internalRequest->addParameter('bindId',
+ ObjectSerializer::sanitizeForSerialization($request->getBindId(), 'string'));
+ }
+ if ($request->getUserNo() != null) {
+ $internalRequest->addParameter('userNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUserNo(), 'string'));
+ }
+ if ($request->getUserType() != null) {
+ $internalRequest->addParameter('userType',
+ ObjectSerializer::sanitizeForSerialization($request->getUserType(), 'string'));
+ }
+ if ($request->getUserIp() != null) {
+ $internalRequest->addParameter('userIp',
+ ObjectSerializer::sanitizeForSerialization($request->getUserIp(), 'string'));
+ }
+ if ($request->getPaymentExt() != null) {
+ $internalRequest->addParameter('paymentExt',
+ ObjectSerializer::sanitizeForSerialization($request->getPaymentExt(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+YjzfBindpayrequestRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/YjzfBindpayrequestResponse.php b/lib/Service/Frontcashier/Model/YjzfBindpayrequestResponse.php
new file mode 100644
index 0000000..ce358c3
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfBindpayrequestResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return YjzfBindpayrequestAPIYJZFBindPaymentResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfBindpayrequestResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/YjzfBindpayrequestResponseUnMarshaller.php
new file mode 100644
index 0000000..a6cf578
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfBindpayrequestResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * YjzfFirstpayrequestAPIYJZFFirstPaymentResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class YjzfFirstpayrequestAPIYJZFFirstPaymentResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'YjzfFirstpayrequestAPIYJZFFirstPaymentResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'token' => 'string',
+ 'recordId' => 'string',
+ 'verifyCodeType' => 'string',
+ 'needItemScene' => 'string',
+ 'needBankPWD' => 'bool',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'token' => null,
+ 'recordId' => null,
+ 'verifyCodeType' => null,
+ 'needItemScene' => null,
+ 'needBankPWD' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'token' => 'token',
+ 'recordId' => 'recordId',
+ 'verifyCodeType' => 'verifyCodeType',
+ 'needItemScene' => 'needItemScene',
+ 'needBankPWD' => 'needBankPWD',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'token' => 'setToken',
+ 'recordId' => 'setRecordId',
+ 'verifyCodeType' => 'setVerifyCodeType',
+ 'needItemScene' => 'setNeedItemScene',
+ 'needBankPWD' => 'setNeedBankPWD',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'token' => 'getToken',
+ 'recordId' => 'getRecordId',
+ 'verifyCodeType' => 'getVerifyCodeType',
+ 'needItemScene' => 'getNeedItemScene',
+ 'needBankPWD' => 'getNeedBankPWD',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ $this->container['verifyCodeType'] = isset($data['verifyCodeType']) ? $data['verifyCodeType'] : null;
+ $this->container['needItemScene'] = isset($data['needItemScene']) ? $data['needItemScene'] : null;
+ $this->container['needBankPWD'] = isset($data['needBankPWD']) ? $data['needBankPWD'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 支付记录流水号
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Gets verifyCodeType
+ * @return string
+ */
+ public function getVerifyCodeType()
+ {
+ return $this->container['verifyCodeType'];
+ }
+
+ /**
+ * Sets verifyCodeType
+ * @param string $verifyCodeType 验证码类型
+ * @return $this
+ */
+ public function setVerifyCodeType($verifyCodeType)
+ {
+ $this->container['verifyCodeType'] = $verifyCodeType;
+
+ return $this;
+ }
+
+ /**
+ * Gets needItemScene
+ * @return string
+ */
+ public function getNeedItemScene()
+ {
+ return $this->container['needItemScene'];
+ }
+
+ /**
+ * Sets needItemScene
+ * @param string $needItemScene 补充银行密码场景
+ * @return $this
+ */
+ public function setNeedItemScene($needItemScene)
+ {
+ $this->container['needItemScene'] = $needItemScene;
+
+ return $this;
+ }
+
+ /**
+ * Gets needBankPWD
+ * @return bool
+ */
+ public function getNeedBankPWD()
+ {
+ return $this->container['needBankPWD'];
+ }
+
+ /**
+ * Sets needBankPWD
+ * @param bool $needBankPWD 是否需补充银行密码
+ * @return $this
+ */
+ public function setNeedBankPWD($needBankPWD)
+ {
+ $this->container['needBankPWD'] = $needBankPWD;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/YjzfFirstpayrequestRequest.php b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestRequest.php
new file mode 100644
index 0000000..1dcb683
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestRequest.php
@@ -0,0 +1,327 @@
+userNo;
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setUserNo($userNo)
+ {
+ $this->userNo = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->userType;
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setUserType($userType)
+ {
+ $this->userType = $userType;
+
+ return $this;
+ }
+
+ /**
+ * Gets userIp
+ * @return string
+ */
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+
+ /**
+ * Sets userIp
+ * @param string $userIp
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardNo
+ * @return string
+ */
+ public function getCardNo()
+ {
+ return $this->cardNo;
+ }
+
+ /**
+ * Sets cardNo
+ * @param string $cardNo
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setCardNo($cardNo)
+ {
+ $this->cardNo = $cardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets owner
+ * @return string
+ */
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+
+ /**
+ * Sets owner
+ * @param string $owner
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+
+ return $this;
+ }
+
+ /**
+ * Gets idNo
+ * @return string
+ */
+ public function getIdNo()
+ {
+ return $this->idNo;
+ }
+
+ /**
+ * Sets idNo
+ * @param string $idNo
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setIdNo($idNo)
+ {
+ $this->idNo = $idNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNo
+ * @return string
+ */
+ public function getPhoneNo()
+ {
+ return $this->phoneNo;
+ }
+
+ /**
+ * Sets phoneNo
+ * @param string $phoneNo
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setPhoneNo($phoneNo)
+ {
+ $this->phoneNo = $phoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv
+ * @return string
+ */
+ public function getCvv()
+ {
+ return $this->cvv;
+ }
+
+ /**
+ * Sets cvv
+ * @param string $cvv
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setCvv($cvv)
+ {
+ $this->cvv = $cvv;
+
+ return $this;
+ }
+
+ /**
+ * Gets avlidDate
+ * @return string
+ */
+ public function getAvlidDate()
+ {
+ return $this->avlidDate;
+ }
+
+ /**
+ * Sets avlidDate
+ * @param string $avlidDate
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setAvlidDate($avlidDate)
+ {
+ $this->avlidDate = $avlidDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentExt
+ * @return string
+ */
+ public function getPaymentExt()
+ {
+ return $this->paymentExt;
+ }
+
+ /**
+ * Sets paymentExt
+ * @param string $paymentExt
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setPaymentExt($paymentExt)
+ {
+ $this->paymentExt = $paymentExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return YjzfFirstpayrequestRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'yjzfFirstpayrequest';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfFirstpayrequestRequestMarshaller.php b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestRequestMarshaller.php
new file mode 100644
index 0000000..1956a8d
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestRequestMarshaller.php
@@ -0,0 +1,125 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getUserNo() != null) {
+ $internalRequest->addParameter('userNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUserNo(), 'string'));
+ }
+ if ($request->getUserType() != null) {
+ $internalRequest->addParameter('userType',
+ ObjectSerializer::sanitizeForSerialization($request->getUserType(), 'string'));
+ }
+ if ($request->getUserIp() != null) {
+ $internalRequest->addParameter('userIp',
+ ObjectSerializer::sanitizeForSerialization($request->getUserIp(), 'string'));
+ }
+ if ($request->getCardNo() != null) {
+ $internalRequest->addParameter('cardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getCardNo(), 'string'));
+ }
+ if ($request->getOwner() != null) {
+ $internalRequest->addParameter('owner',
+ ObjectSerializer::sanitizeForSerialization($request->getOwner(), 'string'));
+ }
+ if ($request->getIdNo() != null) {
+ $internalRequest->addParameter('idNo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdNo(), 'string'));
+ }
+ if ($request->getPhoneNo() != null) {
+ $internalRequest->addParameter('phoneNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNo(), 'string'));
+ }
+ if ($request->getCvv() != null) {
+ $internalRequest->addParameter('cvv',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv(), 'string'));
+ }
+ if ($request->getAvlidDate() != null) {
+ $internalRequest->addParameter('avlidDate',
+ ObjectSerializer::sanitizeForSerialization($request->getAvlidDate(), 'string'));
+ }
+ if ($request->getPaymentExt() != null) {
+ $internalRequest->addParameter('paymentExt',
+ ObjectSerializer::sanitizeForSerialization($request->getPaymentExt(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+YjzfFirstpayrequestRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/YjzfFirstpayrequestResponse.php b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestResponse.php
new file mode 100644
index 0000000..a9b77aa
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return YjzfFirstpayrequestAPIYJZFFirstPaymentResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfFirstpayrequestResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestResponseUnMarshaller.php
new file mode 100644
index 0000000..b4755f6
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfFirstpayrequestResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * YjzfPaymentconfirmAPIYJZFConfirmPayResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class YjzfPaymentconfirmAPIYJZFConfirmPayResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'YjzfPaymentconfirmAPIYJZFConfirmPayResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'token' => 'string',
+ 'recordId' => 'string',
+ 'bindId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'token' => null,
+ 'recordId' => null,
+ 'bindId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'token' => 'token',
+ 'recordId' => 'recordId',
+ 'bindId' => 'bindId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'token' => 'setToken',
+ 'recordId' => 'setRecordId',
+ 'bindId' => 'setBindId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'token' => 'getToken',
+ 'recordId' => 'getRecordId',
+ 'bindId' => 'getBindId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ $this->container['bindId'] = isset($data['bindId']) ? $data['bindId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 支付记录流水号
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bindId
+ * @return string
+ */
+ public function getBindId()
+ {
+ return $this->container['bindId'];
+ }
+
+ /**
+ * Sets bindId
+ * @param string $bindId 绑卡ID
+ * @return $this
+ */
+ public function setBindId($bindId)
+ {
+ $this->container['bindId'] = $bindId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/YjzfPaymentconfirmRequest.php b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmRequest.php
new file mode 100644
index 0000000..0fab0b5
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmRequest.php
@@ -0,0 +1,301 @@
+recordId;
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setRecordId($recordId)
+ {
+ $this->recordId = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Gets verifyCode
+ * @return string
+ */
+ public function getVerifyCode()
+ {
+ return $this->verifyCode;
+ }
+
+ /**
+ * Sets verifyCode
+ * @param string $verifyCode
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setVerifyCode($verifyCode)
+ {
+ $this->verifyCode = $verifyCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets owner
+ * @return string
+ */
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+
+ /**
+ * Sets owner
+ * @param string $owner
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+
+ return $this;
+ }
+
+ /**
+ * Gets idNo
+ * @return string
+ */
+ public function getIdNo()
+ {
+ return $this->idNo;
+ }
+
+ /**
+ * Sets idNo
+ * @param string $idNo
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setIdNo($idNo)
+ {
+ $this->idNo = $idNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNo
+ * @return string
+ */
+ public function getPhoneNo()
+ {
+ return $this->phoneNo;
+ }
+
+ /**
+ * Sets phoneNo
+ * @param string $phoneNo
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setPhoneNo($phoneNo)
+ {
+ $this->phoneNo = $phoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv
+ * @return string
+ */
+ public function getCvv()
+ {
+ return $this->cvv;
+ }
+
+ /**
+ * Sets cvv
+ * @param string $cvv
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setCvv($cvv)
+ {
+ $this->cvv = $cvv;
+
+ return $this;
+ }
+
+ /**
+ * Gets avlidDate
+ * @return string
+ */
+ public function getAvlidDate()
+ {
+ return $this->avlidDate;
+ }
+
+ /**
+ * Sets avlidDate
+ * @param string $avlidDate
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setAvlidDate($avlidDate)
+ {
+ $this->avlidDate = $avlidDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPWD
+ * @return string
+ */
+ public function getBankPWD()
+ {
+ return $this->bankPWD;
+ }
+
+ /**
+ * Sets bankPWD
+ * @param string $bankPWD
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setBankPWD($bankPWD)
+ {
+ $this->bankPWD = $bankPWD;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentExt
+ * @return string
+ */
+ public function getPaymentExt()
+ {
+ return $this->paymentExt;
+ }
+
+ /**
+ * Sets paymentExt
+ * @param string $paymentExt
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setPaymentExt($paymentExt)
+ {
+ $this->paymentExt = $paymentExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return YjzfPaymentconfirmRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'yjzfPaymentconfirm';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfPaymentconfirmRequestMarshaller.php b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmRequestMarshaller.php
new file mode 100644
index 0000000..734a621
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmRequestMarshaller.php
@@ -0,0 +1,121 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRecordId() != null) {
+ $internalRequest->addParameter('recordId',
+ ObjectSerializer::sanitizeForSerialization($request->getRecordId(), 'string'));
+ }
+ if ($request->getVerifyCode() != null) {
+ $internalRequest->addParameter('verifyCode',
+ ObjectSerializer::sanitizeForSerialization($request->getVerifyCode(), 'string'));
+ }
+ if ($request->getOwner() != null) {
+ $internalRequest->addParameter('owner',
+ ObjectSerializer::sanitizeForSerialization($request->getOwner(), 'string'));
+ }
+ if ($request->getIdNo() != null) {
+ $internalRequest->addParameter('idNo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdNo(), 'string'));
+ }
+ if ($request->getPhoneNo() != null) {
+ $internalRequest->addParameter('phoneNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNo(), 'string'));
+ }
+ if ($request->getCvv() != null) {
+ $internalRequest->addParameter('cvv',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv(), 'string'));
+ }
+ if ($request->getAvlidDate() != null) {
+ $internalRequest->addParameter('avlidDate',
+ ObjectSerializer::sanitizeForSerialization($request->getAvlidDate(), 'string'));
+ }
+ if ($request->getBankPWD() != null) {
+ $internalRequest->addParameter('bankPWD',
+ ObjectSerializer::sanitizeForSerialization($request->getBankPWD(), 'string'));
+ }
+ if ($request->getPaymentExt() != null) {
+ $internalRequest->addParameter('paymentExt',
+ ObjectSerializer::sanitizeForSerialization($request->getPaymentExt(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+YjzfPaymentconfirmRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/YjzfPaymentconfirmResponse.php b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmResponse.php
new file mode 100644
index 0000000..97b49d9
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return YjzfPaymentconfirmAPIYJZFConfirmPayResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfPaymentconfirmResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmResponseUnMarshaller.php
new file mode 100644
index 0000000..1f7c4cc
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfPaymentconfirmResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+前置收银台
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Frontcashier\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * YjzfSendsmsAPIBasicResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class YjzfSendsmsAPIBasicResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'YjzfSendsmsAPIBasicResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'token' => 'string',
+ 'recordId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'token' => null,
+ 'recordId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'token' => 'token',
+ 'recordId' => 'recordId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'token' => 'setToken',
+ 'recordId' => 'setRecordId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'token' => 'getToken',
+ 'recordId' => 'getRecordId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['recordId'] = isset($data['recordId']) ? $data['recordId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets recordId
+ * @return string
+ */
+ public function getRecordId()
+ {
+ return $this->container['recordId'];
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId 支付记录流水号
+ * @return $this
+ */
+ public function setRecordId($recordId)
+ {
+ $this->container['recordId'] = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Frontcashier/Model/YjzfSendsmsRequest.php b/lib/Service/Frontcashier/Model/YjzfSendsmsRequest.php
new file mode 100644
index 0000000..ea82f1c
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfSendsmsRequest.php
@@ -0,0 +1,275 @@
+recordId;
+ }
+
+ /**
+ * Sets recordId
+ * @param string $recordId
+ * @return YjzfSendsmsRequest
+ */
+ public function setRecordId($recordId)
+ {
+ $this->recordId = $recordId;
+
+ return $this;
+ }
+
+ /**
+ * Gets owner
+ * @return string
+ */
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+
+ /**
+ * Sets owner
+ * @param string $owner
+ * @return YjzfSendsmsRequest
+ */
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+
+ return $this;
+ }
+
+ /**
+ * Gets idNo
+ * @return string
+ */
+ public function getIdNo()
+ {
+ return $this->idNo;
+ }
+
+ /**
+ * Sets idNo
+ * @param string $idNo
+ * @return YjzfSendsmsRequest
+ */
+ public function setIdNo($idNo)
+ {
+ $this->idNo = $idNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets phoneNo
+ * @return string
+ */
+ public function getPhoneNo()
+ {
+ return $this->phoneNo;
+ }
+
+ /**
+ * Sets phoneNo
+ * @param string $phoneNo
+ * @return YjzfSendsmsRequest
+ */
+ public function setPhoneNo($phoneNo)
+ {
+ $this->phoneNo = $phoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cvv
+ * @return string
+ */
+ public function getCvv()
+ {
+ return $this->cvv;
+ }
+
+ /**
+ * Sets cvv
+ * @param string $cvv
+ * @return YjzfSendsmsRequest
+ */
+ public function setCvv($cvv)
+ {
+ $this->cvv = $cvv;
+
+ return $this;
+ }
+
+ /**
+ * Gets avlidDate
+ * @return string
+ */
+ public function getAvlidDate()
+ {
+ return $this->avlidDate;
+ }
+
+ /**
+ * Sets avlidDate
+ * @param string $avlidDate
+ * @return YjzfSendsmsRequest
+ */
+ public function setAvlidDate($avlidDate)
+ {
+ $this->avlidDate = $avlidDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPWD
+ * @return string
+ */
+ public function getBankPWD()
+ {
+ return $this->bankPWD;
+ }
+
+ /**
+ * Sets bankPWD
+ * @param string $bankPWD
+ * @return YjzfSendsmsRequest
+ */
+ public function setBankPWD($bankPWD)
+ {
+ $this->bankPWD = $bankPWD;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentExt
+ * @return string
+ */
+ public function getPaymentExt()
+ {
+ return $this->paymentExt;
+ }
+
+ /**
+ * Sets paymentExt
+ * @param string $paymentExt
+ * @return YjzfSendsmsRequest
+ */
+ public function setPaymentExt($paymentExt)
+ {
+ $this->paymentExt = $paymentExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return YjzfSendsmsRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return YjzfSendsmsRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'yjzfSendsms';
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfSendsmsRequestMarshaller.php b/lib/Service/Frontcashier/Model/YjzfSendsmsRequestMarshaller.php
new file mode 100644
index 0000000..a72d469
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfSendsmsRequestMarshaller.php
@@ -0,0 +1,117 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRecordId() != null) {
+ $internalRequest->addParameter('recordId',
+ ObjectSerializer::sanitizeForSerialization($request->getRecordId(), 'string'));
+ }
+ if ($request->getOwner() != null) {
+ $internalRequest->addParameter('owner',
+ ObjectSerializer::sanitizeForSerialization($request->getOwner(), 'string'));
+ }
+ if ($request->getIdNo() != null) {
+ $internalRequest->addParameter('idNo',
+ ObjectSerializer::sanitizeForSerialization($request->getIdNo(), 'string'));
+ }
+ if ($request->getPhoneNo() != null) {
+ $internalRequest->addParameter('phoneNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPhoneNo(), 'string'));
+ }
+ if ($request->getCvv() != null) {
+ $internalRequest->addParameter('cvv',
+ ObjectSerializer::sanitizeForSerialization($request->getCvv(), 'string'));
+ }
+ if ($request->getAvlidDate() != null) {
+ $internalRequest->addParameter('avlidDate',
+ ObjectSerializer::sanitizeForSerialization($request->getAvlidDate(), 'string'));
+ }
+ if ($request->getBankPWD() != null) {
+ $internalRequest->addParameter('bankPWD',
+ ObjectSerializer::sanitizeForSerialization($request->getBankPWD(), 'string'));
+ }
+ if ($request->getPaymentExt() != null) {
+ $internalRequest->addParameter('paymentExt',
+ ObjectSerializer::sanitizeForSerialization($request->getPaymentExt(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+YjzfSendsmsRequestMarshaller::__init();
diff --git a/lib/Service/Frontcashier/Model/YjzfSendsmsResponse.php b/lib/Service/Frontcashier/Model/YjzfSendsmsResponse.php
new file mode 100644
index 0000000..ed1bd09
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfSendsmsResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return YjzfSendsmsAPIBasicResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Frontcashier/Model/YjzfSendsmsResponseUnMarshaller.php b/lib/Service/Frontcashier/Model/YjzfSendsmsResponseUnMarshaller.php
new file mode 100644
index 0000000..7a5fed5
--- /dev/null
+++ b/lib/Service/Frontcashier/Model/YjzfSendsmsResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\AuthStateQueryRequest $request
+ * @return Model\AuthStateQueryResponse
+ * @throws YopClientException
+ */
+ public function authStateQuery(Model\AuthStateQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AuthStateQueryRequestMarshaller::getInstance(),
+ Model\AuthStateQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\AuthorizeRelieveRequest $request
+ * @return Model\AuthorizeRelieveResponse
+ * @throws YopClientException
+ */
+ public function authorizeRelieve(Model\AuthorizeRelieveRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AuthorizeRelieveRequestMarshaller::getInstance(),
+ Model\AuthorizeRelieveResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\AuthorizeSignRequest $request
+ * @return Model\AuthorizeSignResponse
+ * @throws YopClientException
+ */
+ public function authorizeSign(Model\AuthorizeSignRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\AuthorizeSignRequestMarshaller::getInstance(),
+ Model\AuthorizeSignResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BankAccountOpenRequest $request
+ * @return Model\BankAccountOpenResponse
+ * @throws YopClientException
+ */
+ public function bankAccountOpen(Model\BankAccountOpenRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BankAccountOpenRequestMarshaller::getInstance(),
+ Model\BankAccountOpenResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\MerchantDisposeQueryRequest $request
+ * @return Model\MerchantDisposeQueryResponse
+ * @throws YopClientException
+ */
+ public function merchantDisposeQuery(Model\MerchantDisposeQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\MerchantDisposeQueryRequestMarshaller::getInstance(),
+ Model\MerchantDisposeQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\MerchantDisposeUnfreezeRequest $request
+ * @return Model\MerchantDisposeUnfreezeResponse
+ * @throws YopClientException
+ */
+ public function merchantDisposeUnfreeze(Model\MerchantDisposeUnfreezeRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\MerchantDisposeUnfreezeRequestMarshaller::getInstance(),
+ Model\MerchantDisposeUnfreezeResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\MerchantWechatauthCancelRequest $request
+ * @return Model\MerchantWechatauthCancelResponse
+ * @throws YopClientException
+ */
+ public function merchantWechatauthCancel(Model\MerchantWechatauthCancelRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\MerchantWechatauthCancelRequestMarshaller::getInstance(),
+ Model\MerchantWechatauthCancelResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\MerchantWechatauthQueryRequest $request
+ * @return Model\MerchantWechatauthQueryResponse
+ * @throws YopClientException
+ */
+ public function merchantWechatauthQuery(Model\MerchantWechatauthQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getApplymentId() == null) {
+ throw new YopClientException("request.applymentId is required.");
+ }
+ if ($request->getSubMerchantNo() == null) {
+ throw new YopClientException("request.subMerchantNo is required.");
+ }
+ if ($request->getReportFee() == null) {
+ throw new YopClientException("request.reportFee is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\MerchantWechatauthQueryRequestMarshaller::getInstance(),
+ Model\MerchantWechatauthQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\NotifyRepeatRequest $request
+ * @return Model\NotifyRepeatResponse
+ * @throws YopClientException
+ */
+ public function notifyRepeat(Model\NotifyRepeatRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\NotifyRepeatRequestMarshaller::getInstance(),
+ Model\NotifyRepeatResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ProductFeeModifyRequest $request
+ * @return Model\ProductFeeModifyResponse
+ * @throws YopClientException
+ */
+ public function productFeeModify(Model\ProductFeeModifyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\ProductFeeModifyRequestMarshaller::getInstance(),
+ Model\ProductFeeModifyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ProductFeeQueryRequest $request
+ * @return Model\ProductFeeQueryResponse
+ * @throws YopClientException
+ */
+ public function productFeeQuery(Model\ProductFeeQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\ProductFeeQueryRequestMarshaller::getInstance(),
+ Model\ProductFeeQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ProductIncrementSettleOpenRequest $request
+ * @return Model\ProductIncrementSettleOpenResponse
+ * @throws YopClientException
+ */
+ public function productIncrementSettleOpen(Model\ProductIncrementSettleOpenRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\ProductIncrementSettleOpenRequestMarshaller::getInstance(),
+ Model\ProductIncrementSettleOpenResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RegisterContributeMerchantRequest $request
+ * @return Model\RegisterContributeMerchantResponse
+ * @throws YopClientException
+ */
+ public function registerContributeMerchant(Model\RegisterContributeMerchantRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RegisterContributeMerchantRequestMarshaller::getInstance(),
+ Model\RegisterContributeMerchantResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RegisterContributeMicroRequest $request
+ * @return Model\RegisterContributeMicroResponse
+ * @throws YopClientException
+ */
+ public function registerContributeMicro(Model\RegisterContributeMicroRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RegisterContributeMicroRequestMarshaller::getInstance(),
+ Model\RegisterContributeMicroResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RegisterQueryRequest $request
+ * @return Model\RegisterQueryResponse
+ * @throws YopClientException
+ */
+ public function registerQuery(Model\RegisterQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getRequestNo() == null) {
+ throw new YopClientException("request.requestNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\RegisterQueryRequestMarshaller::getInstance(),
+ Model\RegisterQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Mer/MerClientBuilder.php b/lib/Service/Mer/MerClientBuilder.php
new file mode 100644
index 0000000..69d83b8
--- /dev/null
+++ b/lib/Service/Mer/MerClientBuilder.php
@@ -0,0 +1,98 @@
+register('authStateQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('authorizeRelieve',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('authorizeSign',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('bankAccountOpen',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('merchantDisposeQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('merchantDisposeUnfreeze',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('merchantWechatauthCancel',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('merchantWechatauthQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('notifyRepeat',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('productFeeModify',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('productFeeQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('productIncrementSettleOpen',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('registerContributeMerchant',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('registerContributeMicro',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('registerQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * MerClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new MerClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return MerClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new MerClientBuilder($clientParams);
+ }
+
+}
+
+MerClientBuilder::__init();
diff --git a/lib/Service/Mer/Model/AuthStateQueryIdentityAuthDtoResult.php b/lib/Service/Mer/Model/AuthStateQueryIdentityAuthDtoResult.php
new file mode 100644
index 0000000..7f9530b
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthStateQueryIdentityAuthDtoResult.php
@@ -0,0 +1,375 @@
+ 'string',
+ 'feeType' => 'string',
+ 'authorizeState' => 'string',
+ 'returnCode' => 'string',
+ 'returnMsg' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'reportMerchantNo' => null,
+ 'feeType' => null,
+ 'authorizeState' => null,
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'reportMerchantNo' => 'reportMerchantNo',
+ 'feeType' => 'feeType',
+ 'authorizeState' => 'authorizeState',
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'reportMerchantNo' => 'setReportMerchantNo',
+ 'feeType' => 'setFeeType',
+ 'authorizeState' => 'setAuthorizeState',
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'reportMerchantNo' => 'getReportMerchantNo',
+ 'feeType' => 'getFeeType',
+ 'authorizeState' => 'getAuthorizeState',
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['reportMerchantNo'] = isset($data['reportMerchantNo']) ? $data['reportMerchantNo'] : null;
+ $this->container['feeType'] = isset($data['feeType']) ? $data['feeType'] : null;
+ $this->container['authorizeState'] = isset($data['authorizeState']) ? $data['authorizeState'] : null;
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets reportMerchantNo
+ * @return string
+ */
+ public function getReportMerchantNo()
+ {
+ return $this->container['reportMerchantNo'];
+ }
+
+ /**
+ * Sets reportMerchantNo
+ * @param string $reportMerchantNo 报备商户号
+ * @return $this
+ */
+ public function setReportMerchantNo($reportMerchantNo)
+ {
+ $this->container['reportMerchantNo'] = $reportMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeType
+ * @return string
+ */
+ public function getFeeType()
+ {
+ return $this->container['feeType'];
+ }
+
+ /**
+ * Sets feeType
+ * @param string $feeType 报备费率
+ * @return $this
+ */
+ public function setFeeType($feeType)
+ {
+ $this->container['feeType'] = $feeType;
+
+ return $this;
+ }
+
+ /**
+ * Gets authorizeState
+ * @return string
+ */
+ public function getAuthorizeState()
+ {
+ return $this->container['authorizeState'];
+ }
+
+ /**
+ * Sets authorizeState
+ * @param string $authorizeState 授权状态
+ * @return $this
+ */
+ public function setAuthorizeState($authorizeState)
+ {
+ $this->container['authorizeState'] = $authorizeState;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/AuthStateQueryIdentityAuthStateResDtoResult.php b/lib/Service/Mer/Model/AuthStateQueryIdentityAuthStateResDtoResult.php
new file mode 100644
index 0000000..941eaa1
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthStateQueryIdentityAuthStateResDtoResult.php
@@ -0,0 +1,320 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'identityAuthDtos' => '\Yeepay\Yop\Sdk\Service\Mer\Model\AuthStateQueryIdentityAuthDtoResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'identityAuthDtos' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'identityAuthDtos' => 'identityAuthDtos',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'identityAuthDtos' => 'setIdentityAuthDtos',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'identityAuthDtos' => 'getIdentityAuthDtos',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['identityAuthDtos'] = isset($data['identityAuthDtos']) ? $data['identityAuthDtos'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 返回码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 返回信息。未知状态代表商户未报备
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets identityAuthDtos
+ * @return \Yeepay\Yop\Sdk\Service\Mer\Model\AuthStateQueryIdentityAuthDtoResult[]
+ */
+ public function getIdentityAuthDtos()
+ {
+ return $this->container['identityAuthDtos'];
+ }
+
+ /**
+ * Sets identityAuthDtos
+ * @param \Yeepay\Yop\Sdk\Service\Mer\Model\AuthStateQueryIdentityAuthDtoResult[] $identityAuthDtos 认证信息
+ * @return $this
+ */
+ public function setIdentityAuthDtos($identityAuthDtos)
+ {
+ $this->container['identityAuthDtos'] = $identityAuthDtos;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/AuthStateQueryRequest.php b/lib/Service/Mer/Model/AuthStateQueryRequest.php
new file mode 100644
index 0000000..47f11af
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthStateQueryRequest.php
@@ -0,0 +1,93 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return AuthStateQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets reportMerchantNo
+ * @return string
+ */
+ public function getReportMerchantNo()
+ {
+ return $this->reportMerchantNo;
+ }
+
+ /**
+ * Sets reportMerchantNo
+ * @param string $reportMerchantNo
+ * @return AuthStateQueryRequest
+ */
+ public function setReportMerchantNo($reportMerchantNo)
+ {
+ $this->reportMerchantNo = $reportMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets feeType
+ * @return string
+ */
+ public function getFeeType()
+ {
+ return $this->feeType;
+ }
+
+ /**
+ * Sets feeType
+ * @param string $feeType
+ * @return AuthStateQueryRequest
+ */
+ public function setFeeType($feeType)
+ {
+ $this->feeType = $feeType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'authStateQuery';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/AuthStateQueryRequestMarshaller.php b/lib/Service/Mer/Model/AuthStateQueryRequestMarshaller.php
new file mode 100644
index 0000000..4e2d0b0
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthStateQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+AuthStateQueryRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/AuthStateQueryResponse.php b/lib/Service/Mer/Model/AuthStateQueryResponse.php
new file mode 100644
index 0000000..a603304
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthStateQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AuthStateQueryIdentityAuthStateResDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/AuthStateQueryResponseUnMarshaller.php b/lib/Service/Mer/Model/AuthStateQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..8b6a5d8
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthStateQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'authorizeMerchantNo' => 'string',
+ 'bizType' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'authorizeMerchantNo' => null,
+ 'bizType' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'authorizeMerchantNo' => 'authorizeMerchantNo',
+ 'bizType' => 'bizType',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'authorizeMerchantNo' => 'setAuthorizeMerchantNo',
+ 'bizType' => 'setBizType',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'authorizeMerchantNo' => 'getAuthorizeMerchantNo',
+ 'bizType' => 'getBizType',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['authorizeMerchantNo'] = isset($data['authorizeMerchantNo']) ? $data['authorizeMerchantNo'] : null;
+ $this->container['bizType'] = isset($data['bizType']) ? $data['bizType'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets authorizeMerchantNo
+ * @return string
+ */
+ public function getAuthorizeMerchantNo()
+ {
+ return $this->container['authorizeMerchantNo'];
+ }
+
+ /**
+ * Sets authorizeMerchantNo
+ * @param string $authorizeMerchantNo 委托方商户编号
+ * @return $this
+ */
+ public function setAuthorizeMerchantNo($authorizeMerchantNo)
+ {
+ $this->container['authorizeMerchantNo'] = $authorizeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizType
+ * @return string
+ */
+ public function getBizType()
+ {
+ return $this->container['bizType'];
+ }
+
+ /**
+ * Sets bizType
+ * @param string $bizType 授权业务类型
+ * @return $this
+ */
+ public function setBizType($bizType)
+ {
+ $this->container['bizType'] = $bizType;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 授权状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/AuthorizeRelieveRequest.php b/lib/Service/Mer/Model/AuthorizeRelieveRequest.php
new file mode 100644
index 0000000..bd06f8e
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeRelieveRequest.php
@@ -0,0 +1,67 @@
+authorizeMerchantNo;
+ }
+
+ /**
+ * Sets authorizeMerchantNo
+ * @param string $authorizeMerchantNo
+ * @return AuthorizeRelieveRequest
+ */
+ public function setAuthorizeMerchantNo($authorizeMerchantNo)
+ {
+ $this->authorizeMerchantNo = $authorizeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizType
+ * @return string
+ */
+ public function getBizType()
+ {
+ return $this->bizType;
+ }
+
+ /**
+ * Sets bizType
+ * @param string $bizType
+ * @return AuthorizeRelieveRequest
+ */
+ public function setBizType($bizType)
+ {
+ $this->bizType = $bizType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'authorizeRelieve';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/AuthorizeRelieveRequestMarshaller.php b/lib/Service/Mer/Model/AuthorizeRelieveRequestMarshaller.php
new file mode 100644
index 0000000..aa6fd07
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeRelieveRequestMarshaller.php
@@ -0,0 +1,85 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getAuthorizeMerchantNo() != null) {
+ $internalRequest->addParameter('authorizeMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getAuthorizeMerchantNo(), 'string'));
+ }
+ if ($request->getBizType() != null) {
+ $internalRequest->addParameter('bizType',
+ ObjectSerializer::sanitizeForSerialization($request->getBizType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+AuthorizeRelieveRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/AuthorizeRelieveResponse.php b/lib/Service/Mer/Model/AuthorizeRelieveResponse.php
new file mode 100644
index 0000000..c37f835
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeRelieveResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AuthorizeRelieveMGRelieveAuthorizeRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/AuthorizeRelieveResponseUnMarshaller.php b/lib/Service/Mer/Model/AuthorizeRelieveResponseUnMarshaller.php
new file mode 100644
index 0000000..bf4c3ab
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeRelieveResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'authorizeMerchantNo' => 'string',
+ 'status' => 'string',
+ 'orderNo' => 'string',
+ 'bizType' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'authorizeMerchantNo' => null,
+ 'status' => null,
+ 'orderNo' => null,
+ 'bizType' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'authorizeMerchantNo' => 'authorizeMerchantNo',
+ 'status' => 'status',
+ 'orderNo' => 'orderNo',
+ 'bizType' => 'bizType',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'authorizeMerchantNo' => 'setAuthorizeMerchantNo',
+ 'status' => 'setStatus',
+ 'orderNo' => 'setOrderNo',
+ 'bizType' => 'setBizType',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'authorizeMerchantNo' => 'getAuthorizeMerchantNo',
+ 'status' => 'getStatus',
+ 'orderNo' => 'getOrderNo',
+ 'bizType' => 'getBizType',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['authorizeMerchantNo'] = isset($data['authorizeMerchantNo']) ? $data['authorizeMerchantNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['orderNo'] = isset($data['orderNo']) ? $data['orderNo'] : null;
+ $this->container['bizType'] = isset($data['bizType']) ? $data['bizType'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回消息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets authorizeMerchantNo
+ * @return string
+ */
+ public function getAuthorizeMerchantNo()
+ {
+ return $this->container['authorizeMerchantNo'];
+ }
+
+ /**
+ * Sets authorizeMerchantNo
+ * @param string $authorizeMerchantNo 委托方商户编号
+ * @return $this
+ */
+ public function setAuthorizeMerchantNo($authorizeMerchantNo)
+ {
+ $this->container['authorizeMerchantNo'] = $authorizeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 授权状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderNo
+ * @return string
+ */
+ public function getOrderNo()
+ {
+ return $this->container['orderNo'];
+ }
+
+ /**
+ * Sets orderNo
+ * @param string $orderNo 易宝授权订单号
+ * @return $this
+ */
+ public function setOrderNo($orderNo)
+ {
+ $this->container['orderNo'] = $orderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizType
+ * @return string
+ */
+ public function getBizType()
+ {
+ return $this->container['bizType'];
+ }
+
+ /**
+ * Sets bizType
+ * @param string $bizType 授权业务类型
+ * @return $this
+ */
+ public function setBizType($bizType)
+ {
+ $this->container['bizType'] = $bizType;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/AuthorizeSignRequest.php b/lib/Service/Mer/Model/AuthorizeSignRequest.php
new file mode 100644
index 0000000..2595101
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeSignRequest.php
@@ -0,0 +1,119 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return AuthorizeSignRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets authorizeMerchantNo
+ * @return string
+ */
+ public function getAuthorizeMerchantNo()
+ {
+ return $this->authorizeMerchantNo;
+ }
+
+ /**
+ * Sets authorizeMerchantNo
+ * @param string $authorizeMerchantNo
+ * @return AuthorizeSignRequest
+ */
+ public function setAuthorizeMerchantNo($authorizeMerchantNo)
+ {
+ $this->authorizeMerchantNo = $authorizeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizType
+ * @return string
+ */
+ public function getBizType()
+ {
+ return $this->bizType;
+ }
+
+ /**
+ * Sets bizType
+ * @param string $bizType
+ * @return AuthorizeSignRequest
+ */
+ public function setBizType($bizType)
+ {
+ $this->bizType = $bizType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return AuthorizeSignRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'authorizeSign';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/AuthorizeSignRequestMarshaller.php b/lib/Service/Mer/Model/AuthorizeSignRequestMarshaller.php
new file mode 100644
index 0000000..884c7cf
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeSignRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getAuthorizeMerchantNo() != null) {
+ $internalRequest->addParameter('authorizeMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getAuthorizeMerchantNo(), 'string'));
+ }
+ if ($request->getBizType() != null) {
+ $internalRequest->addParameter('bizType',
+ ObjectSerializer::sanitizeForSerialization($request->getBizType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+AuthorizeSignRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/AuthorizeSignResponse.php b/lib/Service/Mer/Model/AuthorizeSignResponse.php
new file mode 100644
index 0000000..9c1c17e
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeSignResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return AuthorizeSignMGAuthorizeRespDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/AuthorizeSignResponseUnMarshaller.php b/lib/Service/Mer/Model/AuthorizeSignResponseUnMarshaller.php
new file mode 100644
index 0000000..1843213
--- /dev/null
+++ b/lib/Service/Mer/Model/AuthorizeSignResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'applicationNo' => 'string',
+ 'applicationStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'applicationNo' => null,
+ 'applicationStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'applicationNo' => 'applicationNo',
+ 'applicationStatus' => 'applicationStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'applicationNo' => 'setApplicationNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'applicationNo' => 'getApplicationNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 申请单状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/BankAccountOpenRequest.php b/lib/Service/Mer/Model/BankAccountOpenRequest.php
new file mode 100644
index 0000000..286b8ed
--- /dev/null
+++ b/lib/Service/Mer/Model/BankAccountOpenRequest.php
@@ -0,0 +1,353 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BankAccountOpenRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BankAccountOpenRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets businessPlacePhoto
+ * @return string
+ */
+ public function getBusinessPlacePhoto()
+ {
+ return $this->businessPlacePhoto;
+ }
+
+ /**
+ * Sets businessPlacePhoto
+ * @param string $businessPlacePhoto
+ * @return BankAccountOpenRequest
+ */
+ public function setBusinessPlacePhoto($businessPlacePhoto)
+ {
+ $this->businessPlacePhoto = $businessPlacePhoto;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return BankAccountOpenRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets deviceip
+ * @return string
+ */
+ public function getDeviceip()
+ {
+ return $this->deviceip;
+ }
+
+ /**
+ * Sets deviceip
+ * @param string $deviceip
+ * @return BankAccountOpenRequest
+ */
+ public function setDeviceip($deviceip)
+ {
+ $this->deviceip = $deviceip;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return BankAccountOpenRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantSubjectInfo
+ * @return string
+ */
+ public function getMerchantSubjectInfo()
+ {
+ return $this->merchantSubjectInfo;
+ }
+
+ /**
+ * Sets merchantSubjectInfo
+ * @param string $merchantSubjectInfo
+ * @return BankAccountOpenRequest
+ */
+ public function setMerchantSubjectInfo($merchantSubjectInfo)
+ {
+ $this->merchantSubjectInfo = $merchantSubjectInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settlementAccountInfo
+ * @return string
+ */
+ public function getSettlementAccountInfo()
+ {
+ return $this->settlementAccountInfo;
+ }
+
+ /**
+ * Sets settlementAccountInfo
+ * @param string $settlementAccountInfo
+ * @return BankAccountOpenRequest
+ */
+ public function setSettlementAccountInfo($settlementAccountInfo)
+ {
+ $this->settlementAccountInfo = $settlementAccountInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantCorporationInfo
+ * @return string
+ */
+ public function getMerchantCorporationInfo()
+ {
+ return $this->merchantCorporationInfo;
+ }
+
+ /**
+ * Sets merchantCorporationInfo
+ * @param string $merchantCorporationInfo
+ * @return BankAccountOpenRequest
+ */
+ public function setMerchantCorporationInfo($merchantCorporationInfo)
+ {
+ $this->merchantCorporationInfo = $merchantCorporationInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantContactInfo
+ * @return string
+ */
+ public function getMerchantContactInfo()
+ {
+ return $this->merchantContactInfo;
+ }
+
+ /**
+ * Sets merchantContactInfo
+ * @param string $merchantContactInfo
+ * @return BankAccountOpenRequest
+ */
+ public function setMerchantContactInfo($merchantContactInfo)
+ {
+ $this->merchantContactInfo = $merchantContactInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets shareholdersInfo
+ * @return string
+ */
+ public function getShareholdersInfo()
+ {
+ return $this->shareholdersInfo;
+ }
+
+ /**
+ * Sets shareholdersInfo
+ * @param string $shareholdersInfo
+ * @return BankAccountOpenRequest
+ */
+ public function setShareholdersInfo($shareholdersInfo)
+ {
+ $this->shareholdersInfo = $shareholdersInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets beneficiaryInfo
+ * @return string
+ */
+ public function getBeneficiaryInfo()
+ {
+ return $this->beneficiaryInfo;
+ }
+
+ /**
+ * Sets beneficiaryInfo
+ * @param string $beneficiaryInfo
+ * @return BankAccountOpenRequest
+ */
+ public function setBeneficiaryInfo($beneficiaryInfo)
+ {
+ $this->beneficiaryInfo = $beneficiaryInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return BankAccountOpenRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'bankAccountOpen';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/BankAccountOpenRequestMarshaller.php b/lib/Service/Mer/Model/BankAccountOpenRequestMarshaller.php
new file mode 100644
index 0000000..667d91f
--- /dev/null
+++ b/lib/Service/Mer/Model/BankAccountOpenRequestMarshaller.php
@@ -0,0 +1,129 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBusinessPlacePhoto() != null) {
+ $internalRequest->addParameter('businessPlacePhoto',
+ ObjectSerializer::sanitizeForSerialization($request->getBusinessPlacePhoto(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getDeviceip() != null) {
+ $internalRequest->addParameter('deviceip',
+ ObjectSerializer::sanitizeForSerialization($request->getDeviceip(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getMerchantSubjectInfo() != null) {
+ $internalRequest->addParameter('merchantSubjectInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantSubjectInfo(), 'string'));
+ }
+ if ($request->getSettlementAccountInfo() != null) {
+ $internalRequest->addParameter('settlementAccountInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getSettlementAccountInfo(), 'string'));
+ }
+ if ($request->getMerchantCorporationInfo() != null) {
+ $internalRequest->addParameter('merchantCorporationInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantCorporationInfo(), 'string'));
+ }
+ if ($request->getMerchantContactInfo() != null) {
+ $internalRequest->addParameter('merchantContactInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantContactInfo(), 'string'));
+ }
+ if ($request->getShareholdersInfo() != null) {
+ $internalRequest->addParameter('shareholdersInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getShareholdersInfo(), 'string'));
+ }
+ if ($request->getBeneficiaryInfo() != null) {
+ $internalRequest->addParameter('beneficiaryInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getBeneficiaryInfo(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BankAccountOpenRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/BankAccountOpenResponse.php b/lib/Service/Mer/Model/BankAccountOpenResponse.php
new file mode 100644
index 0000000..d224474
--- /dev/null
+++ b/lib/Service/Mer/Model/BankAccountOpenResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BankAccountOpenOpenAccountRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/BankAccountOpenResponseUnMarshaller.php b/lib/Service/Mer/Model/BankAccountOpenResponseUnMarshaller.php
new file mode 100644
index 0000000..38c58ac
--- /dev/null
+++ b/lib/Service/Mer/Model/BankAccountOpenResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'applicationNo' => 'string',
+ 'requestNo' => 'string',
+ 'bizStatus' => 'string',
+ 'merchantNo' => 'string',
+ 'failReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'applicationNo' => null,
+ 'requestNo' => null,
+ 'bizStatus' => null,
+ 'merchantNo' => null,
+ 'failReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'applicationNo' => 'applicationNo',
+ 'requestNo' => 'requestNo',
+ 'bizStatus' => 'bizStatus',
+ 'merchantNo' => 'merchantNo',
+ 'failReason' => 'failReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'applicationNo' => 'setApplicationNo',
+ 'requestNo' => 'setRequestNo',
+ 'bizStatus' => 'setBizStatus',
+ 'merchantNo' => 'setMerchantNo',
+ 'failReason' => 'setFailReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'applicationNo' => 'getApplicationNo',
+ 'requestNo' => 'getRequestNo',
+ 'bizStatus' => 'getBizStatus',
+ 'merchantNo' => 'getMerchantNo',
+ 'failReason' => 'getFailReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['bizStatus'] = isset($data['bizStatus']) ? $data['bizStatus'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizStatus
+ * @return string
+ */
+ public function getBizStatus()
+ {
+ return $this->container['bizStatus'];
+ }
+
+ /**
+ * Sets bizStatus
+ * @param string $bizStatus 申请单状态
+ * @return $this
+ */
+ public function setBizStatus($bizStatus)
+ {
+ $this->container['bizStatus'] = $bizStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 解冻商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/MerchantDisposeQueryRequest.php b/lib/Service/Mer/Model/MerchantDisposeQueryRequest.php
new file mode 100644
index 0000000..bfe1e8b
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeQueryRequest.php
@@ -0,0 +1,67 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return MerchantDisposeQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->applicationNo;
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo
+ * @return MerchantDisposeQueryRequest
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->applicationNo = $applicationNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'merchantDisposeQuery';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantDisposeQueryRequestMarshaller.php b/lib/Service/Mer/Model/MerchantDisposeQueryRequestMarshaller.php
new file mode 100644
index 0000000..566d371
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+MerchantDisposeQueryRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/MerchantDisposeQueryResponse.php b/lib/Service/Mer/Model/MerchantDisposeQueryResponse.php
new file mode 100644
index 0000000..8ac8dd8
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return MerchantDisposeQueryMerchantQueryDisposeNotifyRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantDisposeQueryResponseUnMarshaller.php b/lib/Service/Mer/Model/MerchantDisposeQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..156d546
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ 'bizStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ 'bizStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ 'bizStatus' => 'bizStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ 'bizStatus' => 'setBizStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ 'bizStatus' => 'getBizStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['bizStatus'] = isset($data['bizStatus']) ? $data['bizStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizStatus
+ * @return string
+ */
+ public function getBizStatus()
+ {
+ return $this->container['bizStatus'];
+ }
+
+ /**
+ * Sets bizStatus
+ * @param string $bizStatus 申请单状态
+ * @return $this
+ */
+ public function setBizStatus($bizStatus)
+ {
+ $this->container['bizStatus'] = $bizStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/MerchantDisposeUnfreezeRequest.php b/lib/Service/Mer/Model/MerchantDisposeUnfreezeRequest.php
new file mode 100644
index 0000000..c143286
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeUnfreezeRequest.php
@@ -0,0 +1,93 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return MerchantDisposeUnfreezeRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return MerchantDisposeUnfreezeRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return MerchantDisposeUnfreezeRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'merchantDisposeUnfreeze';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantDisposeUnfreezeRequestMarshaller.php b/lib/Service/Mer/Model/MerchantDisposeUnfreezeRequestMarshaller.php
new file mode 100644
index 0000000..30b477a
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeUnfreezeRequestMarshaller.php
@@ -0,0 +1,89 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+MerchantDisposeUnfreezeRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/MerchantDisposeUnfreezeResponse.php b/lib/Service/Mer/Model/MerchantDisposeUnfreezeResponse.php
new file mode 100644
index 0000000..234ce34
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeUnfreezeResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return MerchantDisposeUnfreezeMerchantDisposeRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantDisposeUnfreezeResponseUnMarshaller.php b/lib/Service/Mer/Model/MerchantDisposeUnfreezeResponseUnMarshaller.php
new file mode 100644
index 0000000..75ea182
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantDisposeUnfreezeResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应code
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应message
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/MerchantWechatauthCancelRequest.php b/lib/Service/Mer/Model/MerchantWechatauthCancelRequest.php
new file mode 100644
index 0000000..200e097
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthCancelRequest.php
@@ -0,0 +1,119 @@
+applymentId;
+ }
+
+ /**
+ * Sets applymentId
+ * @param string $applymentId
+ * @return MerchantWechatauthCancelRequest
+ */
+ public function setApplymentId($applymentId)
+ {
+ $this->applymentId = $applymentId;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return MerchantWechatauthCancelRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets subMerchantNo
+ * @return string
+ */
+ public function getSubMerchantNo()
+ {
+ return $this->subMerchantNo;
+ }
+
+ /**
+ * Sets subMerchantNo
+ * @param string $subMerchantNo
+ * @return MerchantWechatauthCancelRequest
+ */
+ public function setSubMerchantNo($subMerchantNo)
+ {
+ $this->subMerchantNo = $subMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets reportFee
+ * @return string
+ */
+ public function getReportFee()
+ {
+ return $this->reportFee;
+ }
+
+ /**
+ * Sets reportFee
+ * @param string $reportFee
+ * @return MerchantWechatauthCancelRequest
+ */
+ public function setReportFee($reportFee)
+ {
+ $this->reportFee = $reportFee;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'merchantWechatauthCancel';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantWechatauthCancelRequestMarshaller.php b/lib/Service/Mer/Model/MerchantWechatauthCancelRequestMarshaller.php
new file mode 100644
index 0000000..e05ce1d
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthCancelRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getApplymentId() != null) {
+ $internalRequest->addParameter('applymentId',
+ ObjectSerializer::sanitizeForSerialization($request->getApplymentId(), 'string'));
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getSubMerchantNo() != null) {
+ $internalRequest->addParameter('subMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getSubMerchantNo(), 'string'));
+ }
+ if ($request->getReportFee() != null) {
+ $internalRequest->addParameter('reportFee',
+ ObjectSerializer::sanitizeForSerialization($request->getReportFee(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+MerchantWechatauthCancelRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/MerchantWechatauthCancelResponse.php b/lib/Service/Mer/Model/MerchantWechatauthCancelResponse.php
new file mode 100644
index 0000000..506acdf
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthCancelResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return MerchantWechatauthCancelApplymentCancelRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantWechatauthCancelResponseUnMarshaller.php b/lib/Service/Mer/Model/MerchantWechatauthCancelResponseUnMarshaller.php
new file mode 100644
index 0000000..2d2b868
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthCancelResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applymentId' => 'string',
+ 'applymentState' => 'string',
+ 'qrcodeUrl' => 'string',
+ 'rejectParam' => 'string',
+ 'rejectReason' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applymentId' => null,
+ 'applymentState' => null,
+ 'qrcodeUrl' => null,
+ 'rejectParam' => null,
+ 'rejectReason' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applymentId' => 'applymentId',
+ 'applymentState' => 'applymentState',
+ 'qrcodeUrl' => 'qrcodeUrl',
+ 'rejectParam' => 'rejectParam',
+ 'rejectReason' => 'rejectReason',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applymentId' => 'setApplymentId',
+ 'applymentState' => 'setApplymentState',
+ 'qrcodeUrl' => 'setQrcodeUrl',
+ 'rejectParam' => 'setRejectParam',
+ 'rejectReason' => 'setRejectReason',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applymentId' => 'getApplymentId',
+ 'applymentState' => 'getApplymentState',
+ 'qrcodeUrl' => 'getQrcodeUrl',
+ 'rejectParam' => 'getRejectParam',
+ 'rejectReason' => 'getRejectReason',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applymentId'] = isset($data['applymentId']) ? $data['applymentId'] : null;
+ $this->container['applymentState'] = isset($data['applymentState']) ? $data['applymentState'] : null;
+ $this->container['qrcodeUrl'] = isset($data['qrcodeUrl']) ? $data['qrcodeUrl'] : null;
+ $this->container['rejectParam'] = isset($data['rejectParam']) ? $data['rejectParam'] : null;
+ $this->container['rejectReason'] = isset($data['rejectReason']) ? $data['rejectReason'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应code
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应message
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 原申请请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applymentId
+ * @return string
+ */
+ public function getApplymentId()
+ {
+ return $this->container['applymentId'];
+ }
+
+ /**
+ * Sets applymentId
+ * @param string $applymentId 申请单编号
+ * @return $this
+ */
+ public function setApplymentId($applymentId)
+ {
+ $this->container['applymentId'] = $applymentId;
+
+ return $this;
+ }
+
+ /**
+ * Gets applymentState
+ * @return string
+ */
+ public function getApplymentState()
+ {
+ return $this->container['applymentState'];
+ }
+
+ /**
+ * Sets applymentState
+ * @param string $applymentState 申请单状态
+ * @return $this
+ */
+ public function setApplymentState($applymentState)
+ {
+ $this->container['applymentState'] = $applymentState;
+
+ return $this;
+ }
+
+ /**
+ * Gets qrcodeUrl
+ * @return string
+ */
+ public function getQrcodeUrl()
+ {
+ return $this->container['qrcodeUrl'];
+ }
+
+ /**
+ * Sets qrcodeUrl
+ * @param string $qrcodeUrl 小程序码图片
+ * @return $this
+ */
+ public function setQrcodeUrl($qrcodeUrl)
+ {
+ $this->container['qrcodeUrl'] = $qrcodeUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets rejectParam
+ * @return string
+ */
+ public function getRejectParam()
+ {
+ return $this->container['rejectParam'];
+ }
+
+ /**
+ * Sets rejectParam
+ * @param string $rejectParam 驳回参数
+ * @return $this
+ */
+ public function setRejectParam($rejectParam)
+ {
+ $this->container['rejectParam'] = $rejectParam;
+
+ return $this;
+ }
+
+ /**
+ * Gets rejectReason
+ * @return string
+ */
+ public function getRejectReason()
+ {
+ return $this->container['rejectReason'];
+ }
+
+ /**
+ * Sets rejectReason
+ * @param string $rejectReason 驳回原因
+ * @return $this
+ */
+ public function setRejectReason($rejectReason)
+ {
+ $this->container['rejectReason'] = $rejectReason;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/MerchantWechatauthQueryRequest.php b/lib/Service/Mer/Model/MerchantWechatauthQueryRequest.php
new file mode 100644
index 0000000..e906470
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthQueryRequest.php
@@ -0,0 +1,119 @@
+applymentId;
+ }
+
+ /**
+ * Sets applymentId
+ * @param string $applymentId
+ * @return MerchantWechatauthQueryRequest
+ */
+ public function setApplymentId($applymentId)
+ {
+ $this->applymentId = $applymentId;
+
+ return $this;
+ }
+
+ /**
+ * Gets subMerchantNo
+ * @return string
+ */
+ public function getSubMerchantNo()
+ {
+ return $this->subMerchantNo;
+ }
+
+ /**
+ * Sets subMerchantNo
+ * @param string $subMerchantNo
+ * @return MerchantWechatauthQueryRequest
+ */
+ public function setSubMerchantNo($subMerchantNo)
+ {
+ $this->subMerchantNo = $subMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets reportFee
+ * @return string
+ */
+ public function getReportFee()
+ {
+ return $this->reportFee;
+ }
+
+ /**
+ * Sets reportFee
+ * @param string $reportFee
+ * @return MerchantWechatauthQueryRequest
+ */
+ public function setReportFee($reportFee)
+ {
+ $this->reportFee = $reportFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return MerchantWechatauthQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'merchantWechatauthQuery';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantWechatauthQueryRequestMarshaller.php b/lib/Service/Mer/Model/MerchantWechatauthQueryRequestMarshaller.php
new file mode 100644
index 0000000..37fcf83
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+MerchantWechatauthQueryRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/MerchantWechatauthQueryResponse.php b/lib/Service/Mer/Model/MerchantWechatauthQueryResponse.php
new file mode 100644
index 0000000..934ae4a
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return MerchantWechatauthQueryQueryCertificateResultRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/MerchantWechatauthQueryResponseUnMarshaller.php b/lib/Service/Mer/Model/MerchantWechatauthQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..3c3fb9d
--- /dev/null
+++ b/lib/Service/Mer/Model/MerchantWechatauthQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 入网请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号:易宝内部商户入网申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/NotifyRepeatRequest.php b/lib/Service/Mer/Model/NotifyRepeatRequest.php
new file mode 100644
index 0000000..a5de7db
--- /dev/null
+++ b/lib/Service/Mer/Model/NotifyRepeatRequest.php
@@ -0,0 +1,93 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return NotifyRepeatRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->applicationNo;
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo
+ * @return NotifyRepeatRequest
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->applicationNo = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets type
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * Sets type
+ * @param string $type
+ * @return NotifyRepeatRequest
+ */
+ public function setType($type)
+ {
+ $this->type = $type;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'notifyRepeat';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/NotifyRepeatRequestMarshaller.php b/lib/Service/Mer/Model/NotifyRepeatRequestMarshaller.php
new file mode 100644
index 0000000..b3470b5
--- /dev/null
+++ b/lib/Service/Mer/Model/NotifyRepeatRequestMarshaller.php
@@ -0,0 +1,89 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getApplicationNo() != null) {
+ $internalRequest->addParameter('applicationNo',
+ ObjectSerializer::sanitizeForSerialization($request->getApplicationNo(), 'string'));
+ }
+ if ($request->getType() != null) {
+ $internalRequest->addParameter('type',
+ ObjectSerializer::sanitizeForSerialization($request->getType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+NotifyRepeatRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/NotifyRepeatResponse.php b/lib/Service/Mer/Model/NotifyRepeatResponse.php
new file mode 100644
index 0000000..bd20a46
--- /dev/null
+++ b/lib/Service/Mer/Model/NotifyRepeatResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return NotifyRepeatMerchantNetInRepeatNotifyRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/NotifyRepeatResponseUnMarshaller.php b/lib/Service/Mer/Model/NotifyRepeatResponseUnMarshaller.php
new file mode 100644
index 0000000..0642e72
--- /dev/null
+++ b/lib/Service/Mer/Model/NotifyRepeatResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ 'applicationStatus' => 'string',
+ 'merchantNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ 'applicationStatus' => null,
+ 'merchantNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ 'applicationStatus' => 'applicationStatus',
+ 'merchantNo' => 'merchantNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ 'merchantNo' => 'setMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ 'merchantNo' => 'getMerchantNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 申请状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/ProductFeeModifyRequest.php b/lib/Service/Mer/Model/ProductFeeModifyRequest.php
new file mode 100644
index 0000000..0701638
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeModifyRequest.php
@@ -0,0 +1,145 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return ProductFeeModifyRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ProductFeeModifyRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return ProductFeeModifyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return ProductFeeModifyRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets productInfo
+ * @return string
+ */
+ public function getProductInfo()
+ {
+ return $this->productInfo;
+ }
+
+ /**
+ * Sets productInfo
+ * @param string $productInfo
+ * @return ProductFeeModifyRequest
+ */
+ public function setProductInfo($productInfo)
+ {
+ $this->productInfo = $productInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'productFeeModify';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/ProductFeeModifyRequestMarshaller.php b/lib/Service/Mer/Model/ProductFeeModifyRequestMarshaller.php
new file mode 100644
index 0000000..5d71588
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeModifyRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getProductInfo() != null) {
+ $internalRequest->addParameter('productInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getProductInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ProductFeeModifyRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/ProductFeeModifyResponse.php b/lib/Service/Mer/Model/ProductFeeModifyResponse.php
new file mode 100644
index 0000000..19376f6
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeModifyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ProductFeeModifyModifyProductFeeRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/ProductFeeModifyResponseUnMarshaller.php b/lib/Service/Mer/Model/ProductFeeModifyResponseUnMarshaller.php
new file mode 100644
index 0000000..86a6f74
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeModifyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'productInfo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'productInfo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'productInfo' => 'productInfo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'productInfo' => 'setProductInfo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'productInfo' => 'getProductInfo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['productInfo'] = isset($data['productInfo']) ? $data['productInfo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets productInfo
+ * @return string
+ */
+ public function getProductInfo()
+ {
+ return $this->container['productInfo'];
+ }
+
+ /**
+ * Sets productInfo
+ * @param string $productInfo 产品费率数据
+ * @return $this
+ */
+ public function setProductInfo($productInfo)
+ {
+ $this->container['productInfo'] = $productInfo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/ProductFeeQueryRequest.php b/lib/Service/Mer/Model/ProductFeeQueryRequest.php
new file mode 100644
index 0000000..022f881
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ProductFeeQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return ProductFeeQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets productCode
+ * @return string
+ */
+ public function getProductCode()
+ {
+ return $this->productCode;
+ }
+
+ /**
+ * Sets productCode
+ * @param string $productCode
+ * @return ProductFeeQueryRequest
+ */
+ public function setProductCode($productCode)
+ {
+ $this->productCode = $productCode;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'productFeeQuery';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/ProductFeeQueryRequestMarshaller.php b/lib/Service/Mer/Model/ProductFeeQueryRequestMarshaller.php
new file mode 100644
index 0000000..c45939c
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeQueryRequestMarshaller.php
@@ -0,0 +1,81 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ProductFeeQueryRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/ProductFeeQueryResponse.php b/lib/Service/Mer/Model/ProductFeeQueryResponse.php
new file mode 100644
index 0000000..a5f44af
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ProductFeeQueryQueryProductFeeRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/ProductFeeQueryResponseUnMarshaller.php b/lib/Service/Mer/Model/ProductFeeQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..7525b04
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductFeeQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ 'applicationStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ 'applicationStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ 'applicationStatus' => 'applicationStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 申请状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/ProductIncrementSettleOpenRequest.php b/lib/Service/Mer/Model/ProductIncrementSettleOpenRequest.php
new file mode 100644
index 0000000..2146f42
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductIncrementSettleOpenRequest.php
@@ -0,0 +1,119 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return ProductIncrementSettleOpenRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return ProductIncrementSettleOpenRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets productInfo
+ * @return string
+ */
+ public function getProductInfo()
+ {
+ return $this->productInfo;
+ }
+
+ /**
+ * Sets productInfo
+ * @param string $productInfo
+ * @return ProductIncrementSettleOpenRequest
+ */
+ public function setProductInfo($productInfo)
+ {
+ $this->productInfo = $productInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return ProductIncrementSettleOpenRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'productIncrementSettleOpen';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/ProductIncrementSettleOpenRequestMarshaller.php b/lib/Service/Mer/Model/ProductIncrementSettleOpenRequestMarshaller.php
new file mode 100644
index 0000000..bb69143
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductIncrementSettleOpenRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getProductInfo() != null) {
+ $internalRequest->addParameter('productInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getProductInfo(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ProductIncrementSettleOpenRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/ProductIncrementSettleOpenResponse.php b/lib/Service/Mer/Model/ProductIncrementSettleOpenResponse.php
new file mode 100644
index 0000000..d4ef467
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductIncrementSettleOpenResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ProductIncrementSettleOpenAddIncrementSettleProductRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/ProductIncrementSettleOpenResponseUnMarshaller.php b/lib/Service/Mer/Model/ProductIncrementSettleOpenResponseUnMarshaller.php
new file mode 100644
index 0000000..5a184f3
--- /dev/null
+++ b/lib/Service/Mer/Model/ProductIncrementSettleOpenResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ 'applicationStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ 'applicationStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ 'applicationStatus' => 'applicationStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 入网请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 申请状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/RegisterContributeMerchantRequest.php b/lib/Service/Mer/Model/RegisterContributeMerchantRequest.php
new file mode 100644
index 0000000..3348df7
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMerchantRequest.php
@@ -0,0 +1,301 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets businessRole
+ * @return string
+ */
+ public function getBusinessRole()
+ {
+ return $this->businessRole;
+ }
+
+ /**
+ * Sets businessRole
+ * @param string $businessRole
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setBusinessRole($businessRole)
+ {
+ $this->businessRole = $businessRole;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantSubjectInfo
+ * @return string
+ */
+ public function getMerchantSubjectInfo()
+ {
+ return $this->merchantSubjectInfo;
+ }
+
+ /**
+ * Sets merchantSubjectInfo
+ * @param string $merchantSubjectInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setMerchantSubjectInfo($merchantSubjectInfo)
+ {
+ $this->merchantSubjectInfo = $merchantSubjectInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantCorporationInfo
+ * @return string
+ */
+ public function getMerchantCorporationInfo()
+ {
+ return $this->merchantCorporationInfo;
+ }
+
+ /**
+ * Sets merchantCorporationInfo
+ * @param string $merchantCorporationInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setMerchantCorporationInfo($merchantCorporationInfo)
+ {
+ $this->merchantCorporationInfo = $merchantCorporationInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantContactInfo
+ * @return string
+ */
+ public function getMerchantContactInfo()
+ {
+ return $this->merchantContactInfo;
+ }
+
+ /**
+ * Sets merchantContactInfo
+ * @param string $merchantContactInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setMerchantContactInfo($merchantContactInfo)
+ {
+ $this->merchantContactInfo = $merchantContactInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets industryCategoryInfo
+ * @return string
+ */
+ public function getIndustryCategoryInfo()
+ {
+ return $this->industryCategoryInfo;
+ }
+
+ /**
+ * Sets industryCategoryInfo
+ * @param string $industryCategoryInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setIndustryCategoryInfo($industryCategoryInfo)
+ {
+ $this->industryCategoryInfo = $industryCategoryInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets businessAddressInfo
+ * @return string
+ */
+ public function getBusinessAddressInfo()
+ {
+ return $this->businessAddressInfo;
+ }
+
+ /**
+ * Sets businessAddressInfo
+ * @param string $businessAddressInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setBusinessAddressInfo($businessAddressInfo)
+ {
+ $this->businessAddressInfo = $businessAddressInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settlementAccountInfo
+ * @return string
+ */
+ public function getSettlementAccountInfo()
+ {
+ return $this->settlementAccountInfo;
+ }
+
+ /**
+ * Sets settlementAccountInfo
+ * @param string $settlementAccountInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setSettlementAccountInfo($settlementAccountInfo)
+ {
+ $this->settlementAccountInfo = $settlementAccountInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets productInfo
+ * @return string
+ */
+ public function getProductInfo()
+ {
+ return $this->productInfo;
+ }
+
+ /**
+ * Sets productInfo
+ * @param string $productInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setProductInfo($productInfo)
+ {
+ $this->productInfo = $productInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets productQualificationInfo
+ * @return string
+ */
+ public function getProductQualificationInfo()
+ {
+ return $this->productQualificationInfo;
+ }
+
+ /**
+ * Sets productQualificationInfo
+ * @param string $productQualificationInfo
+ * @return RegisterContributeMerchantRequest
+ */
+ public function setProductQualificationInfo($productQualificationInfo)
+ {
+ $this->productQualificationInfo = $productQualificationInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'registerContributeMerchant';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/RegisterContributeMerchantRequestMarshaller.php b/lib/Service/Mer/Model/RegisterContributeMerchantRequestMarshaller.php
new file mode 100644
index 0000000..7e17f76
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMerchantRequestMarshaller.php
@@ -0,0 +1,121 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getBusinessRole() != null) {
+ $internalRequest->addParameter('businessRole',
+ ObjectSerializer::sanitizeForSerialization($request->getBusinessRole(), 'string'));
+ }
+ if ($request->getMerchantSubjectInfo() != null) {
+ $internalRequest->addParameter('merchantSubjectInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantSubjectInfo(), 'string'));
+ }
+ if ($request->getMerchantCorporationInfo() != null) {
+ $internalRequest->addParameter('merchantCorporationInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantCorporationInfo(), 'string'));
+ }
+ if ($request->getMerchantContactInfo() != null) {
+ $internalRequest->addParameter('merchantContactInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantContactInfo(), 'string'));
+ }
+ if ($request->getIndustryCategoryInfo() != null) {
+ $internalRequest->addParameter('industryCategoryInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getIndustryCategoryInfo(), 'string'));
+ }
+ if ($request->getBusinessAddressInfo() != null) {
+ $internalRequest->addParameter('businessAddressInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getBusinessAddressInfo(), 'string'));
+ }
+ if ($request->getSettlementAccountInfo() != null) {
+ $internalRequest->addParameter('settlementAccountInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getSettlementAccountInfo(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getProductInfo() != null) {
+ $internalRequest->addParameter('productInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getProductInfo(), 'string'));
+ }
+ if ($request->getProductQualificationInfo() != null) {
+ $internalRequest->addParameter('productQualificationInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getProductQualificationInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RegisterContributeMerchantRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/RegisterContributeMerchantResponse.php b/lib/Service/Mer/Model/RegisterContributeMerchantResponse.php
new file mode 100644
index 0000000..02d7f48
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMerchantResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RegisterContributeMerchantContributeMerchantNetInRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/RegisterContributeMerchantResponseUnMarshaller.php b/lib/Service/Mer/Model/RegisterContributeMerchantResponseUnMarshaller.php
new file mode 100644
index 0000000..39da118
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMerchantResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ 'applicationStatus' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ 'applicationStatus' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ 'applicationStatus' => 'applicationStatus',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 入网请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 申请状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/RegisterContributeMicroRequest.php b/lib/Service/Mer/Model/RegisterContributeMicroRequest.php
new file mode 100644
index 0000000..57cac77
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMicroRequest.php
@@ -0,0 +1,249 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets businessRole
+ * @return string
+ */
+ public function getBusinessRole()
+ {
+ return $this->businessRole;
+ }
+
+ /**
+ * Sets businessRole
+ * @param string $businessRole
+ * @return RegisterContributeMicroRequest
+ */
+ public function setBusinessRole($businessRole)
+ {
+ $this->businessRole = $businessRole;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantSubjectInfo
+ * @return string
+ */
+ public function getMerchantSubjectInfo()
+ {
+ return $this->merchantSubjectInfo;
+ }
+
+ /**
+ * Sets merchantSubjectInfo
+ * @param string $merchantSubjectInfo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setMerchantSubjectInfo($merchantSubjectInfo)
+ {
+ $this->merchantSubjectInfo = $merchantSubjectInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantCorporationInfo
+ * @return string
+ */
+ public function getMerchantCorporationInfo()
+ {
+ return $this->merchantCorporationInfo;
+ }
+
+ /**
+ * Sets merchantCorporationInfo
+ * @param string $merchantCorporationInfo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setMerchantCorporationInfo($merchantCorporationInfo)
+ {
+ $this->merchantCorporationInfo = $merchantCorporationInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets businessAddressInfo
+ * @return string
+ */
+ public function getBusinessAddressInfo()
+ {
+ return $this->businessAddressInfo;
+ }
+
+ /**
+ * Sets businessAddressInfo
+ * @param string $businessAddressInfo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setBusinessAddressInfo($businessAddressInfo)
+ {
+ $this->businessAddressInfo = $businessAddressInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountInfo
+ * @return string
+ */
+ public function getAccountInfo()
+ {
+ return $this->accountInfo;
+ }
+
+ /**
+ * Sets accountInfo
+ * @param string $accountInfo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setAccountInfo($accountInfo)
+ {
+ $this->accountInfo = $accountInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RegisterContributeMicroRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets productInfo
+ * @return string
+ */
+ public function getProductInfo()
+ {
+ return $this->productInfo;
+ }
+
+ /**
+ * Sets productInfo
+ * @param string $productInfo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setProductInfo($productInfo)
+ {
+ $this->productInfo = $productInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets productQualificationInfo
+ * @return string
+ */
+ public function getProductQualificationInfo()
+ {
+ return $this->productQualificationInfo;
+ }
+
+ /**
+ * Sets productQualificationInfo
+ * @param string $productQualificationInfo
+ * @return RegisterContributeMicroRequest
+ */
+ public function setProductQualificationInfo($productQualificationInfo)
+ {
+ $this->productQualificationInfo = $productQualificationInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'registerContributeMicro';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/RegisterContributeMicroRequestMarshaller.php b/lib/Service/Mer/Model/RegisterContributeMicroRequestMarshaller.php
new file mode 100644
index 0000000..e647117
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMicroRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getRequestNo() != null) {
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ }
+ if ($request->getBusinessRole() != null) {
+ $internalRequest->addParameter('businessRole',
+ ObjectSerializer::sanitizeForSerialization($request->getBusinessRole(), 'string'));
+ }
+ if ($request->getMerchantSubjectInfo() != null) {
+ $internalRequest->addParameter('merchantSubjectInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantSubjectInfo(), 'string'));
+ }
+ if ($request->getMerchantCorporationInfo() != null) {
+ $internalRequest->addParameter('merchantCorporationInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantCorporationInfo(), 'string'));
+ }
+ if ($request->getBusinessAddressInfo() != null) {
+ $internalRequest->addParameter('businessAddressInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getBusinessAddressInfo(), 'string'));
+ }
+ if ($request->getAccountInfo() != null) {
+ $internalRequest->addParameter('accountInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountInfo(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getProductInfo() != null) {
+ $internalRequest->addParameter('productInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getProductInfo(), 'string'));
+ }
+ if ($request->getProductQualificationInfo() != null) {
+ $internalRequest->addParameter('productQualificationInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getProductQualificationInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RegisterContributeMicroRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/RegisterContributeMicroResponse.php b/lib/Service/Mer/Model/RegisterContributeMicroResponse.php
new file mode 100644
index 0000000..7da15e8
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMicroResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RegisterContributeMicroContributeMicroMerchantNetInRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/RegisterContributeMicroResponseUnMarshaller.php b/lib/Service/Mer/Model/RegisterContributeMicroResponseUnMarshaller.php
new file mode 100644
index 0000000..5c25fe8
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterContributeMicroResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'returnMsg' => 'string',
+ 'requestNo' => 'string',
+ 'applicationNo' => 'string',
+ 'merchantNo' => 'string',
+ 'applicationStatus' => 'string',
+ 'auditOpinion' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnCode' => null,
+ 'returnMsg' => null,
+ 'requestNo' => null,
+ 'applicationNo' => null,
+ 'merchantNo' => null,
+ 'applicationStatus' => null,
+ 'auditOpinion' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnCode' => 'returnCode',
+ 'returnMsg' => 'returnMsg',
+ 'requestNo' => 'requestNo',
+ 'applicationNo' => 'applicationNo',
+ 'merchantNo' => 'merchantNo',
+ 'applicationStatus' => 'applicationStatus',
+ 'auditOpinion' => 'auditOpinion',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnCode' => 'setReturnCode',
+ 'returnMsg' => 'setReturnMsg',
+ 'requestNo' => 'setRequestNo',
+ 'applicationNo' => 'setApplicationNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'applicationStatus' => 'setApplicationStatus',
+ 'auditOpinion' => 'setAuditOpinion',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnCode' => 'getReturnCode',
+ 'returnMsg' => 'getReturnMsg',
+ 'requestNo' => 'getRequestNo',
+ 'applicationNo' => 'getApplicationNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'applicationStatus' => 'getApplicationStatus',
+ 'auditOpinion' => 'getAuditOpinion',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['requestNo'] = isset($data['requestNo']) ? $data['requestNo'] : null;
+ $this->container['applicationNo'] = isset($data['applicationNo']) ? $data['applicationNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['applicationStatus'] = isset($data['applicationStatus']) ? $data['applicationStatus'] : null;
+ $this->container['auditOpinion'] = isset($data['auditOpinion']) ? $data['auditOpinion'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应描述
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestNo
+ * @return string
+ */
+ public function getRequestNo()
+ {
+ return $this->container['requestNo'];
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo 入网请求号
+ * @return $this
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->container['requestNo'] = $requestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationNo
+ * @return string
+ */
+ public function getApplicationNo()
+ {
+ return $this->container['applicationNo'];
+ }
+
+ /**
+ * Sets applicationNo
+ * @param string $applicationNo 申请单编号
+ * @return $this
+ */
+ public function setApplicationNo($applicationNo)
+ {
+ $this->container['applicationNo'] = $applicationNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets applicationStatus
+ * @return string
+ */
+ public function getApplicationStatus()
+ {
+ return $this->container['applicationStatus'];
+ }
+
+ /**
+ * Sets applicationStatus
+ * @param string $applicationStatus 申请状态
+ * @return $this
+ */
+ public function setApplicationStatus($applicationStatus)
+ {
+ $this->container['applicationStatus'] = $applicationStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets auditOpinion
+ * @return string
+ */
+ public function getAuditOpinion()
+ {
+ return $this->container['auditOpinion'];
+ }
+
+ /**
+ * Sets auditOpinion
+ * @param string $auditOpinion 审核意见
+ * @return $this
+ */
+ public function setAuditOpinion($auditOpinion)
+ {
+ $this->container['auditOpinion'] = $auditOpinion;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Mer/Model/RegisterQueryRequest.php b/lib/Service/Mer/Model/RegisterQueryRequest.php
new file mode 100644
index 0000000..96a1004
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterQueryRequest.php
@@ -0,0 +1,41 @@
+requestNo;
+ }
+
+ /**
+ * Sets requestNo
+ * @param string $requestNo
+ * @return RegisterQueryRequest
+ */
+ public function setRequestNo($requestNo)
+ {
+ $this->requestNo = $requestNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'registerQuery';
+ }
+
+}
diff --git a/lib/Service/Mer/Model/RegisterQueryRequestMarshaller.php b/lib/Service/Mer/Model/RegisterQueryRequestMarshaller.php
new file mode 100644
index 0000000..0da131f
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterQueryRequestMarshaller.php
@@ -0,0 +1,78 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+ $internalRequest->addParameter('requestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestNo(), 'string'));
+ return $internalRequest;
+ }
+
+}
+
+RegisterQueryRequestMarshaller::__init();
diff --git a/lib/Service/Mer/Model/RegisterQueryResponse.php b/lib/Service/Mer/Model/RegisterQueryResponse.php
new file mode 100644
index 0000000..723a743
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RegisterQueryNetInProgressQueryRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Mer/Model/RegisterQueryResponseUnMarshaller.php b/lib/Service/Mer/Model/RegisterQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..4a71fca
--- /dev/null
+++ b/lib/Service/Mer/Model/RegisterQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+payTool;
+ }
+
+ /**
+ * Sets payTool
+ * @param string $payTool
+ * @return ApiPayRequest
+ */
+ public function setPayTool($payTool)
+ {
+ $this->payTool = $payTool;
+
+ return $this;
+ }
+
+ /**
+ * Gets payType
+ * @return string
+ */
+ public function getPayType()
+ {
+ return $this->payType;
+ }
+
+ /**
+ * Sets payType
+ * @param string $payType
+ * @return ApiPayRequest
+ */
+ public function setPayType($payType)
+ {
+ $this->payType = $payType;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ /**
+ * Sets token
+ * @param string $token
+ * @return ApiPayRequest
+ */
+ public function setToken($token)
+ {
+ $this->token = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets appId
+ * @return string
+ */
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+
+ /**
+ * Sets appId
+ * @param string $appId
+ * @return ApiPayRequest
+ */
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+
+ return $this;
+ }
+
+ /**
+ * Gets openId
+ * @return string
+ */
+ public function getOpenId()
+ {
+ return $this->openId;
+ }
+
+ /**
+ * Sets openId
+ * @param string $openId
+ * @return ApiPayRequest
+ */
+ public function setOpenId($openId)
+ {
+ $this->openId = $openId;
+
+ return $this;
+ }
+
+ /**
+ * Gets version
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Sets version
+ * @param string $version
+ * @return ApiPayRequest
+ */
+ public function setVersion($version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ /**
+ * Gets payEmpowerNo
+ * @return string
+ */
+ public function getPayEmpowerNo()
+ {
+ return $this->payEmpowerNo;
+ }
+
+ /**
+ * Sets payEmpowerNo
+ * @param string $payEmpowerNo
+ * @return ApiPayRequest
+ */
+ public function setPayEmpowerNo($payEmpowerNo)
+ {
+ $this->payEmpowerNo = $payEmpowerNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantTerminalId
+ * @return string
+ */
+ public function getMerchantTerminalId()
+ {
+ return $this->merchantTerminalId;
+ }
+
+ /**
+ * Sets merchantTerminalId
+ * @param string $merchantTerminalId
+ * @return ApiPayRequest
+ */
+ public function setMerchantTerminalId($merchantTerminalId)
+ {
+ $this->merchantTerminalId = $merchantTerminalId;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantStoreNo
+ * @return string
+ */
+ public function getMerchantStoreNo()
+ {
+ return $this->merchantStoreNo;
+ }
+
+ /**
+ * Sets merchantStoreNo
+ * @param string $merchantStoreNo
+ * @return ApiPayRequest
+ */
+ public function setMerchantStoreNo($merchantStoreNo)
+ {
+ $this->merchantStoreNo = $merchantStoreNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userIp
+ * @return string
+ */
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+
+ /**
+ * Sets userIp
+ * @param string $userIp
+ * @return ApiPayRequest
+ */
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+
+ return $this;
+ }
+
+ /**
+ * Gets extParamMap
+ * @return string
+ */
+ public function getExtParamMap()
+ {
+ return $this->extParamMap;
+ }
+
+ /**
+ * Sets extParamMap
+ * @param string $extParamMap
+ * @return ApiPayRequest
+ */
+ public function setExtParamMap($extParamMap)
+ {
+ $this->extParamMap = $extParamMap;
+
+ return $this;
+ }
+
+ /**
+ * Gets userNo
+ * @return string
+ */
+ public function getUserNo()
+ {
+ return $this->userNo;
+ }
+
+ /**
+ * Sets userNo
+ * @param string $userNo
+ * @return ApiPayRequest
+ */
+ public function setUserNo($userNo)
+ {
+ $this->userNo = $userNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets userType
+ * @return string
+ */
+ public function getUserType()
+ {
+ return $this->userType;
+ }
+
+ /**
+ * Sets userType
+ * @param string $userType
+ * @return ApiPayRequest
+ */
+ public function setUserType($userType)
+ {
+ $this->userType = $userType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'apiPay';
+ }
+
+}
diff --git a/lib/Service/Nccashierapi/Model/ApiPayRequestMarshaller.php b/lib/Service/Nccashierapi/Model/ApiPayRequestMarshaller.php
new file mode 100644
index 0000000..baae7c9
--- /dev/null
+++ b/lib/Service/Nccashierapi/Model/ApiPayRequestMarshaller.php
@@ -0,0 +1,129 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getPayTool() != null) {
+ $internalRequest->addParameter('payTool',
+ ObjectSerializer::sanitizeForSerialization($request->getPayTool(), 'string'));
+ }
+ if ($request->getPayType() != null) {
+ $internalRequest->addParameter('payType',
+ ObjectSerializer::sanitizeForSerialization($request->getPayType(), 'string'));
+ }
+ if ($request->getToken() != null) {
+ $internalRequest->addParameter('token',
+ ObjectSerializer::sanitizeForSerialization($request->getToken(), 'string'));
+ }
+ if ($request->getAppId() != null) {
+ $internalRequest->addParameter('appId',
+ ObjectSerializer::sanitizeForSerialization($request->getAppId(), 'string'));
+ }
+ if ($request->getOpenId() != null) {
+ $internalRequest->addParameter('openId',
+ ObjectSerializer::sanitizeForSerialization($request->getOpenId(), 'string'));
+ }
+ if ($request->getVersion() != null) {
+ $internalRequest->addParameter('version',
+ ObjectSerializer::sanitizeForSerialization($request->getVersion(), 'string'));
+ }
+ if ($request->getPayEmpowerNo() != null) {
+ $internalRequest->addParameter('payEmpowerNo',
+ ObjectSerializer::sanitizeForSerialization($request->getPayEmpowerNo(), 'string'));
+ }
+ if ($request->getMerchantTerminalId() != null) {
+ $internalRequest->addParameter('merchantTerminalId',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantTerminalId(), 'string'));
+ }
+ if ($request->getMerchantStoreNo() != null) {
+ $internalRequest->addParameter('merchantStoreNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantStoreNo(), 'string'));
+ }
+ if ($request->getUserIp() != null) {
+ $internalRequest->addParameter('userIp',
+ ObjectSerializer::sanitizeForSerialization($request->getUserIp(), 'string'));
+ }
+ if ($request->getExtParamMap() != null) {
+ $internalRequest->addParameter('extParamMap',
+ ObjectSerializer::sanitizeForSerialization($request->getExtParamMap(), 'string'));
+ }
+ if ($request->getUserNo() != null) {
+ $internalRequest->addParameter('userNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUserNo(), 'string'));
+ }
+ if ($request->getUserType() != null) {
+ $internalRequest->addParameter('userType',
+ ObjectSerializer::sanitizeForSerialization($request->getUserType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ApiPayRequestMarshaller::__init();
diff --git a/lib/Service/Nccashierapi/Model/ApiPayResponse.php b/lib/Service/Nccashierapi/Model/ApiPayResponse.php
new file mode 100644
index 0000000..e2de226
--- /dev/null
+++ b/lib/Service/Nccashierapi/Model/ApiPayResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ApiPayUnifiedAPICashierResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Nccashierapi/Model/ApiPayResponseUnMarshaller.php b/lib/Service/Nccashierapi/Model/ApiPayResponseUnMarshaller.php
new file mode 100644
index 0000000..c6c78b7
--- /dev/null
+++ b/lib/Service/Nccashierapi/Model/ApiPayResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'payTool' => 'string',
+ 'payType' => 'string',
+ 'merchantNo' => 'string',
+ 'token' => 'string',
+ 'resultType' => 'string',
+ 'resultData' => 'string',
+ 'extParamMap' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'payTool' => null,
+ 'payType' => null,
+ 'merchantNo' => null,
+ 'token' => null,
+ 'resultType' => null,
+ 'resultData' => null,
+ 'extParamMap' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'payTool' => 'payTool',
+ 'payType' => 'payType',
+ 'merchantNo' => 'merchantNo',
+ 'token' => 'token',
+ 'resultType' => 'resultType',
+ 'resultData' => 'resultData',
+ 'extParamMap' => 'extParamMap',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'payTool' => 'setPayTool',
+ 'payType' => 'setPayType',
+ 'merchantNo' => 'setMerchantNo',
+ 'token' => 'setToken',
+ 'resultType' => 'setResultType',
+ 'resultData' => 'setResultData',
+ 'extParamMap' => 'setExtParamMap',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'payTool' => 'getPayTool',
+ 'payType' => 'getPayType',
+ 'merchantNo' => 'getMerchantNo',
+ 'token' => 'getToken',
+ 'resultType' => 'getResultType',
+ 'resultData' => 'getResultData',
+ 'extParamMap' => 'getExtParamMap',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['payTool'] = isset($data['payTool']) ? $data['payTool'] : null;
+ $this->container['payType'] = isset($data['payType']) ? $data['payType'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['resultType'] = isset($data['resultType']) ? $data['resultType'] : null;
+ $this->container['resultData'] = isset($data['resultData']) ? $data['resultData'] : null;
+ $this->container['extParamMap'] = isset($data['extParamMap']) ? $data['extParamMap'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 结果编码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 结果信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets payTool
+ * @return string
+ */
+ public function getPayTool()
+ {
+ return $this->container['payTool'];
+ }
+
+ /**
+ * Sets payTool
+ * @param string $payTool 支付工具
+ * @return $this
+ */
+ public function setPayTool($payTool)
+ {
+ $this->container['payTool'] = $payTool;
+
+ return $this;
+ }
+
+ /**
+ * Gets payType
+ * @return string
+ */
+ public function getPayType()
+ {
+ return $this->container['payType'];
+ }
+
+ /**
+ * Sets payType
+ * @param string $payType 支付类型
+ * @return $this
+ */
+ public function setPayType($payType)
+ {
+ $this->container['payType'] = $payType;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 订单token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets resultType
+ * @return string
+ */
+ public function getResultType()
+ {
+ return $this->container['resultType'];
+ }
+
+ /**
+ * Sets resultType
+ * @param string $resultType 返回结果类型
+ * @return $this
+ */
+ public function setResultType($resultType)
+ {
+ $this->container['resultType'] = $resultType;
+
+ return $this;
+ }
+
+ /**
+ * Gets resultData
+ * @return string
+ */
+ public function getResultData()
+ {
+ return $this->container['resultData'];
+ }
+
+ /**
+ * Sets resultData
+ * @param string $resultData 返回数据
+ * @return $this
+ */
+ public function setResultData($resultData)
+ {
+ $this->container['resultData'] = $resultData;
+
+ return $this;
+ }
+
+ /**
+ * Gets extParamMap
+ * @return string
+ */
+ public function getExtParamMap()
+ {
+ return $this->container['extParamMap'];
+ }
+
+ /**
+ * Sets extParamMap
+ * @param string $extParamMap 支付扩展参数
+ * @return $this
+ */
+ public function setExtParamMap($extParamMap)
+ {
+ $this->container['extParamMap'] = $extParamMap;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Nccashierapi/NccashierapiClient.php b/lib/Service/Nccashierapi/NccashierapiClient.php
new file mode 100644
index 0000000..6e09f24
--- /dev/null
+++ b/lib/Service/Nccashierapi/NccashierapiClient.php
@@ -0,0 +1,44 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\ApiPayRequest $request
+ * @return Model\ApiPayResponse
+ * @throws YopClientException
+ */
+ public function apiPay(Model\ApiPayRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\ApiPayRequestMarshaller::getInstance(),
+ Model\ApiPayResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Nccashierapi/NccashierapiClientBuilder.php b/lib/Service/Nccashierapi/NccashierapiClientBuilder.php
new file mode 100644
index 0000000..1c677e6
--- /dev/null
+++ b/lib/Service/Nccashierapi/NccashierapiClientBuilder.php
@@ -0,0 +1,70 @@
+register('apiPay',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * NccashierapiClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new NccashierapiClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return NccashierapiClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new NccashierapiClientBuilder($clientParams);
+ }
+
+}
+
+NccashierapiClientBuilder::__init();
diff --git a/lib/Service/Settle/Model/BalanceQueryRequest.php b/lib/Service/Settle/Model/BalanceQueryRequest.php
new file mode 100644
index 0000000..c770c83
--- /dev/null
+++ b/lib/Service/Settle/Model/BalanceQueryRequest.php
@@ -0,0 +1,119 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return BalanceQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BalanceQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets operatePeriod
+ * @return string
+ */
+ public function getOperatePeriod()
+ {
+ return $this->operatePeriod;
+ }
+
+ /**
+ * Sets operatePeriod
+ * @param string $operatePeriod
+ * @return BalanceQueryRequest
+ */
+ public function setOperatePeriod($operatePeriod)
+ {
+ $this->operatePeriod = $operatePeriod;
+
+ return $this;
+ }
+
+ /**
+ * Gets endTime
+ * @return string
+ */
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ /**
+ * Sets endTime
+ * @param string $endTime
+ * @return BalanceQueryRequest
+ */
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'balanceQuery';
+ }
+
+}
diff --git a/lib/Service/Settle/Model/BalanceQueryRequestMarshaller.php b/lib/Service/Settle/Model/BalanceQueryRequestMarshaller.php
new file mode 100644
index 0000000..f70da7c
--- /dev/null
+++ b/lib/Service/Settle/Model/BalanceQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BalanceQueryRequestMarshaller::__init();
diff --git a/lib/Service/Settle/Model/BalanceQueryResponse.php b/lib/Service/Settle/Model/BalanceQueryResponse.php
new file mode 100644
index 0000000..0b4cf72
--- /dev/null
+++ b/lib/Service/Settle/Model/BalanceQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BalanceQuerySelfSettleQueryResponseDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Settle/Model/BalanceQueryResponseUnMarshaller.php b/lib/Service/Settle/Model/BalanceQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..9974af7
--- /dev/null
+++ b/lib/Service/Settle/Model/BalanceQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BalanceQuerySelfSettleQueryResponseDtoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BalanceQuerySelfSettleQueryResponseDtoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BalanceQuerySelfSettleQueryResponseDtoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'settlableAmount' => 'float',
+ 'unsettledAmount' => 'float',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'settlableAmount' => null,
+ 'unsettledAmount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'settlableAmount' => 'settlableAmount',
+ 'unsettledAmount' => 'unsettledAmount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'settlableAmount' => 'setSettlableAmount',
+ 'unsettledAmount' => 'setUnsettledAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'settlableAmount' => 'getSettlableAmount',
+ 'unsettledAmount' => 'getUnsettledAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['settlableAmount'] = isset($data['settlableAmount']) ? $data['settlableAmount'] : null;
+ $this->container['unsettledAmount'] = isset($data['unsettledAmount']) ? $data['unsettledAmount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 父商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 子商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settlableAmount
+ * @return float
+ */
+ public function getSettlableAmount()
+ {
+ return $this->container['settlableAmount'];
+ }
+
+ /**
+ * Sets settlableAmount
+ * @param float $settlableAmount 可结算金额
+ * @return $this
+ */
+ public function setSettlableAmount($settlableAmount)
+ {
+ $this->container['settlableAmount'] = $settlableAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets unsettledAmount
+ * @return float
+ */
+ public function getUnsettledAmount()
+ {
+ return $this->container['unsettledAmount'];
+ }
+
+ /**
+ * Sets unsettledAmount
+ * @param float $unsettledAmount 未结算金额
+ * @return $this
+ */
+ public function setUnsettledAmount($unsettledAmount)
+ {
+ $this->container['unsettledAmount'] = $unsettledAmount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/FileGetRequest.php b/lib/Service/Settle/Model/FileGetRequest.php
new file mode 100644
index 0000000..b367338
--- /dev/null
+++ b/lib/Service/Settle/Model/FileGetRequest.php
@@ -0,0 +1,119 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return FileGetRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return FileGetRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRequestNo
+ * @return string
+ */
+ public function getSettleRequestNo()
+ {
+ return $this->settleRequestNo;
+ }
+
+ /**
+ * Sets settleRequestNo
+ * @param string $settleRequestNo
+ * @return FileGetRequest
+ */
+ public function setSettleRequestNo($settleRequestNo)
+ {
+ $this->settleRequestNo = $settleRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleDate
+ * @return string
+ */
+ public function getSettleDate()
+ {
+ return $this->settleDate;
+ }
+
+ /**
+ * Sets settleDate
+ * @param string $settleDate
+ * @return FileGetRequest
+ */
+ public function setSettleDate($settleDate)
+ {
+ $this->settleDate = $settleDate;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'fileGet';
+ }
+
+}
diff --git a/lib/Service/Settle/Model/FileGetRequestMarshaller.php b/lib/Service/Settle/Model/FileGetRequestMarshaller.php
new file mode 100644
index 0000000..966d792
--- /dev/null
+++ b/lib/Service/Settle/Model/FileGetRequestMarshaller.php
@@ -0,0 +1,77 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+FileGetRequestMarshaller::__init();
diff --git a/lib/Service/Settle/Model/RecordsQueryRequest.php b/lib/Service/Settle/Model/RecordsQueryRequest.php
new file mode 100644
index 0000000..f08b11c
--- /dev/null
+++ b/lib/Service/Settle/Model/RecordsQueryRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RecordsQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RecordsQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRequestNo
+ * @return string
+ */
+ public function getSettleRequestNo()
+ {
+ return $this->settleRequestNo;
+ }
+
+ /**
+ * Sets settleRequestNo
+ * @param string $settleRequestNo
+ * @return RecordsQueryRequest
+ */
+ public function setSettleRequestNo($settleRequestNo)
+ {
+ $this->settleRequestNo = $settleRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRequestBeginTime
+ * @return string
+ */
+ public function getSettleRequestBeginTime()
+ {
+ return $this->settleRequestBeginTime;
+ }
+
+ /**
+ * Sets settleRequestBeginTime
+ * @param string $settleRequestBeginTime
+ * @return RecordsQueryRequest
+ */
+ public function setSettleRequestBeginTime($settleRequestBeginTime)
+ {
+ $this->settleRequestBeginTime = $settleRequestBeginTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRequestEndTime
+ * @return string
+ */
+ public function getSettleRequestEndTime()
+ {
+ return $this->settleRequestEndTime;
+ }
+
+ /**
+ * Sets settleRequestEndTime
+ * @param string $settleRequestEndTime
+ * @return RecordsQueryRequest
+ */
+ public function setSettleRequestEndTime($settleRequestEndTime)
+ {
+ $this->settleRequestEndTime = $settleRequestEndTime;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'recordsQuery';
+ }
+
+}
diff --git a/lib/Service/Settle/Model/RecordsQueryRequestMarshaller.php b/lib/Service/Settle/Model/RecordsQueryRequestMarshaller.php
new file mode 100644
index 0000000..290a789
--- /dev/null
+++ b/lib/Service/Settle/Model/RecordsQueryRequestMarshaller.php
@@ -0,0 +1,92 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getSettleRequestBeginTime() != null) {
+ $internalRequest->addParameter('settleRequestBeginTime',
+ ObjectSerializer::sanitizeForSerialization($request->getSettleRequestBeginTime(), 'string'));
+ }
+ if ($request->getSettleRequestEndTime() != null) {
+ $internalRequest->addParameter('settleRequestEndTime',
+ ObjectSerializer::sanitizeForSerialization($request->getSettleRequestEndTime(), 'string'));
+ }
+ return $internalRequest;
+ }
+
+}
+
+RecordsQueryRequestMarshaller::__init();
diff --git a/lib/Service/Settle/Model/RecordsQueryResponse.php b/lib/Service/Settle/Model/RecordsQueryResponse.php
new file mode 100644
index 0000000..ee754fe
--- /dev/null
+++ b/lib/Service/Settle/Model/RecordsQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RecordsQuerySettleRecordQueryResponseDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Settle/Model/RecordsQueryResponseUnMarshaller.php b/lib/Service/Settle/Model/RecordsQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..754dbf2
--- /dev/null
+++ b/lib/Service/Settle/Model/RecordsQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RecordsQuerySettleRecordDetailsDtoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RecordsQuerySettleRecordDetailsDtoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RecordsQuerySettleRecordDetailsDtoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'accountNo' => 'string',
+ 'realAmount' => 'float',
+ 'status' => 'string',
+ 'statusDesc' => 'string',
+ 'errorCode' => 'string',
+ 'errorMessage' => 'string',
+ 'correct' => 'bool',
+ 'channelRequestNo' => 'string',
+ 'accountType' => 'string',
+ 'accountTypeDesc' => 'string',
+ 'accountNameMast' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'accountNo' => null,
+ 'realAmount' => null,
+ 'status' => null,
+ 'statusDesc' => null,
+ 'errorCode' => null,
+ 'errorMessage' => null,
+ 'correct' => null,
+ 'channelRequestNo' => null,
+ 'accountType' => null,
+ 'accountTypeDesc' => null,
+ 'accountNameMast' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'accountNo' => 'accountNo',
+ 'realAmount' => 'realAmount',
+ 'status' => 'status',
+ 'statusDesc' => 'statusDesc',
+ 'errorCode' => 'errorCode',
+ 'errorMessage' => 'errorMessage',
+ 'correct' => 'correct',
+ 'channelRequestNo' => 'channelRequestNo',
+ 'accountType' => 'accountType',
+ 'accountTypeDesc' => 'accountTypeDesc',
+ 'accountNameMast' => 'accountNameMast',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'accountNo' => 'setAccountNo',
+ 'realAmount' => 'setRealAmount',
+ 'status' => 'setStatus',
+ 'statusDesc' => 'setStatusDesc',
+ 'errorCode' => 'setErrorCode',
+ 'errorMessage' => 'setErrorMessage',
+ 'correct' => 'setCorrect',
+ 'channelRequestNo' => 'setChannelRequestNo',
+ 'accountType' => 'setAccountType',
+ 'accountTypeDesc' => 'setAccountTypeDesc',
+ 'accountNameMast' => 'setAccountNameMast',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'accountNo' => 'getAccountNo',
+ 'realAmount' => 'getRealAmount',
+ 'status' => 'getStatus',
+ 'statusDesc' => 'getStatusDesc',
+ 'errorCode' => 'getErrorCode',
+ 'errorMessage' => 'getErrorMessage',
+ 'correct' => 'getCorrect',
+ 'channelRequestNo' => 'getChannelRequestNo',
+ 'accountType' => 'getAccountType',
+ 'accountTypeDesc' => 'getAccountTypeDesc',
+ 'accountNameMast' => 'getAccountNameMast',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['accountNo'] = isset($data['accountNo']) ? $data['accountNo'] : null;
+ $this->container['realAmount'] = isset($data['realAmount']) ? $data['realAmount'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['statusDesc'] = isset($data['statusDesc']) ? $data['statusDesc'] : null;
+ $this->container['errorCode'] = isset($data['errorCode']) ? $data['errorCode'] : null;
+ $this->container['errorMessage'] = isset($data['errorMessage']) ? $data['errorMessage'] : null;
+ $this->container['correct'] = isset($data['correct']) ? $data['correct'] : null;
+ $this->container['channelRequestNo'] = isset($data['channelRequestNo']) ? $data['channelRequestNo'] : null;
+ $this->container['accountType'] = isset($data['accountType']) ? $data['accountType'] : null;
+ $this->container['accountTypeDesc'] = isset($data['accountTypeDesc']) ? $data['accountTypeDesc'] : null;
+ $this->container['accountNameMast'] = isset($data['accountNameMast']) ? $data['accountNameMast'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets accountNo
+ * @return string
+ */
+ public function getAccountNo()
+ {
+ return $this->container['accountNo'];
+ }
+
+ /**
+ * Sets accountNo
+ * @param string $accountNo 账号
+ * @return $this
+ */
+ public function setAccountNo($accountNo)
+ {
+ $this->container['accountNo'] = $accountNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets realAmount
+ * @return float
+ */
+ public function getRealAmount()
+ {
+ return $this->container['realAmount'];
+ }
+
+ /**
+ * Sets realAmount
+ * @param float $realAmount 到账金额
+ * @return $this
+ */
+ public function setRealAmount($realAmount)
+ {
+ $this->container['realAmount'] = $realAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 到账状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets statusDesc
+ * @return string
+ */
+ public function getStatusDesc()
+ {
+ return $this->container['statusDesc'];
+ }
+
+ /**
+ * Sets statusDesc
+ * @param string $statusDesc 到账状态描述
+ * @return $this
+ */
+ public function setStatusDesc($statusDesc)
+ {
+ $this->container['statusDesc'] = $statusDesc;
+
+ return $this;
+ }
+
+ /**
+ * Gets errorCode
+ * @return string
+ */
+ public function getErrorCode()
+ {
+ return $this->container['errorCode'];
+ }
+
+ /**
+ * Sets errorCode
+ * @param string $errorCode 错误码
+ * @return $this
+ */
+ public function setErrorCode($errorCode)
+ {
+ $this->container['errorCode'] = $errorCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets errorMessage
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->container['errorMessage'];
+ }
+
+ /**
+ * Sets errorMessage
+ * @param string $errorMessage 错误信息
+ * @return $this
+ */
+ public function setErrorMessage($errorMessage)
+ {
+ $this->container['errorMessage'] = $errorMessage;
+
+ return $this;
+ }
+
+ /**
+ * Gets correct
+ * @return bool
+ */
+ public function getCorrect()
+ {
+ return $this->container['correct'];
+ }
+
+ /**
+ * Sets correct
+ * @param bool $correct 是否冲退
+ * @return $this
+ */
+ public function setCorrect($correct)
+ {
+ $this->container['correct'] = $correct;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelRequestNo
+ * @return string
+ */
+ public function getChannelRequestNo()
+ {
+ return $this->container['channelRequestNo'];
+ }
+
+ /**
+ * Sets channelRequestNo
+ * @param string $channelRequestNo 出款流水号
+ * @return $this
+ */
+ public function setChannelRequestNo($channelRequestNo)
+ {
+ $this->container['channelRequestNo'] = $channelRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountType
+ * @return string
+ */
+ public function getAccountType()
+ {
+ return $this->container['accountType'];
+ }
+
+ /**
+ * Sets accountType
+ * @param string $accountType 账户类型
+ * @return $this
+ */
+ public function setAccountType($accountType)
+ {
+ $this->container['accountType'] = $accountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountTypeDesc
+ * @return string
+ */
+ public function getAccountTypeDesc()
+ {
+ return $this->container['accountTypeDesc'];
+ }
+
+ /**
+ * Sets accountTypeDesc
+ * @param string $accountTypeDesc 账户类型描述
+ * @return $this
+ */
+ public function setAccountTypeDesc($accountTypeDesc)
+ {
+ $this->container['accountTypeDesc'] = $accountTypeDesc;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountNameMast
+ * @return string
+ */
+ public function getAccountNameMast()
+ {
+ return $this->container['accountNameMast'];
+ }
+
+ /**
+ * Sets accountNameMast
+ * @param string $accountNameMast 账户名
+ * @return $this
+ */
+ public function setAccountNameMast($accountNameMast)
+ {
+ $this->container['accountNameMast'] = $accountNameMast;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/RecordsQuerySettleRecordQueryDtoResult.php b/lib/Service/Settle/Model/RecordsQuerySettleRecordQueryDtoResult.php
new file mode 100644
index 0000000..a556b2c
--- /dev/null
+++ b/lib/Service/Settle/Model/RecordsQuerySettleRecordQueryDtoResult.php
@@ -0,0 +1,482 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RecordsQuerySettleRecordQueryDtoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RecordsQuerySettleRecordQueryDtoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RecordsQuerySettleRecordQueryDtoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'summaryNo' => 'string',
+ 'settleAmount' => 'float',
+ 'status' => 'string',
+ 'statusDesc' => 'string',
+ 'createTime' => 'string',
+ 'settleType' => 'string',
+ 'realAmount' => 'float',
+ 'realFee' => 'float',
+ 'settleRecordDetailsDtos' => '\Yeepay\Yop\Sdk\Service\Settle\Model\RecordsQuerySettleRecordDetailsDtoResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'summaryNo' => null,
+ 'settleAmount' => null,
+ 'status' => null,
+ 'statusDesc' => null,
+ 'createTime' => 'date-time',
+ 'settleType' => null,
+ 'realAmount' => null,
+ 'realFee' => null,
+ 'settleRecordDetailsDtos' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'summaryNo' => 'summaryNo',
+ 'settleAmount' => 'settleAmount',
+ 'status' => 'status',
+ 'statusDesc' => 'statusDesc',
+ 'createTime' => 'createTime',
+ 'settleType' => 'settleType',
+ 'realAmount' => 'realAmount',
+ 'realFee' => 'realFee',
+ 'settleRecordDetailsDtos' => 'settleRecordDetailsDtos',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'summaryNo' => 'setSummaryNo',
+ 'settleAmount' => 'setSettleAmount',
+ 'status' => 'setStatus',
+ 'statusDesc' => 'setStatusDesc',
+ 'createTime' => 'setCreateTime',
+ 'settleType' => 'setSettleType',
+ 'realAmount' => 'setRealAmount',
+ 'realFee' => 'setRealFee',
+ 'settleRecordDetailsDtos' => 'setSettleRecordDetailsDtos',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'summaryNo' => 'getSummaryNo',
+ 'settleAmount' => 'getSettleAmount',
+ 'status' => 'getStatus',
+ 'statusDesc' => 'getStatusDesc',
+ 'createTime' => 'getCreateTime',
+ 'settleType' => 'getSettleType',
+ 'realAmount' => 'getRealAmount',
+ 'realFee' => 'getRealFee',
+ 'settleRecordDetailsDtos' => 'getSettleRecordDetailsDtos',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['summaryNo'] = isset($data['summaryNo']) ? $data['summaryNo'] : null;
+ $this->container['settleAmount'] = isset($data['settleAmount']) ? $data['settleAmount'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['statusDesc'] = isset($data['statusDesc']) ? $data['statusDesc'] : null;
+ $this->container['createTime'] = isset($data['createTime']) ? $data['createTime'] : null;
+ $this->container['settleType'] = isset($data['settleType']) ? $data['settleType'] : null;
+ $this->container['realAmount'] = isset($data['realAmount']) ? $data['realAmount'] : null;
+ $this->container['realFee'] = isset($data['realFee']) ? $data['realFee'] : null;
+ $this->container['settleRecordDetailsDtos'] = isset($data['settleRecordDetailsDtos']) ? $data['settleRecordDetailsDtos'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets summaryNo
+ * @return string
+ */
+ public function getSummaryNo()
+ {
+ return $this->container['summaryNo'];
+ }
+
+ /**
+ * Sets summaryNo
+ * @param string $summaryNo 结算订单号
+ * @return $this
+ */
+ public function setSummaryNo($summaryNo)
+ {
+ $this->container['summaryNo'] = $summaryNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleAmount
+ * @return float
+ */
+ public function getSettleAmount()
+ {
+ return $this->container['settleAmount'];
+ }
+
+ /**
+ * Sets settleAmount
+ * @param float $settleAmount 应结金额
+ * @return $this
+ */
+ public function setSettleAmount($settleAmount)
+ {
+ $this->container['settleAmount'] = $settleAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 结算订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets statusDesc
+ * @return string
+ */
+ public function getStatusDesc()
+ {
+ return $this->container['statusDesc'];
+ }
+
+ /**
+ * Sets statusDesc
+ * @param string $statusDesc 结算订单状态描述
+ * @return $this
+ */
+ public function setStatusDesc($statusDesc)
+ {
+ $this->container['statusDesc'] = $statusDesc;
+
+ return $this;
+ }
+
+ /**
+ * Gets createTime
+ * @return string
+ */
+ public function getCreateTime()
+ {
+ return $this->container['createTime'];
+ }
+
+ /**
+ * Sets createTime
+ * @param string $createTime 结算订单创建时间
+ * @return $this
+ */
+ public function setCreateTime($createTime)
+ {
+ $this->container['createTime'] = $createTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleType
+ * @return string
+ */
+ public function getSettleType()
+ {
+ return $this->container['settleType'];
+ }
+
+ /**
+ * Sets settleType
+ * @param string $settleType 结算产品
+ * @return $this
+ */
+ public function setSettleType($settleType)
+ {
+ $this->container['settleType'] = $settleType;
+
+ return $this;
+ }
+
+ /**
+ * Gets realAmount
+ * @return float
+ */
+ public function getRealAmount()
+ {
+ return $this->container['realAmount'];
+ }
+
+ /**
+ * Sets realAmount
+ * @param float $realAmount 结算到账金额
+ * @return $this
+ */
+ public function setRealAmount($realAmount)
+ {
+ $this->container['realAmount'] = $realAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets realFee
+ * @return float
+ */
+ public function getRealFee()
+ {
+ return $this->container['realFee'];
+ }
+
+ /**
+ * Sets realFee
+ * @param float $realFee 结算手续费
+ * @return $this
+ */
+ public function setRealFee($realFee)
+ {
+ $this->container['realFee'] = $realFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRecordDetailsDtos
+ * @return \Yeepay\Yop\Sdk\Service\Settle\Model\RecordsQuerySettleRecordDetailsDtoResult[]
+ */
+ public function getSettleRecordDetailsDtos()
+ {
+ return $this->container['settleRecordDetailsDtos'];
+ }
+
+ /**
+ * Sets settleRecordDetailsDtos
+ * @param \Yeepay\Yop\Sdk\Service\Settle\Model\RecordsQuerySettleRecordDetailsDtoResult[] $settleRecordDetailsDtos 出款明细
+ * @return $this
+ */
+ public function setSettleRecordDetailsDtos($settleRecordDetailsDtos)
+ {
+ $this->container['settleRecordDetailsDtos'] = $settleRecordDetailsDtos;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/RecordsQuerySettleRecordQueryResponseDtoResult.php b/lib/Service/Settle/Model/RecordsQuerySettleRecordQueryResponseDtoResult.php
new file mode 100644
index 0000000..3f74ffb
--- /dev/null
+++ b/lib/Service/Settle/Model/RecordsQuerySettleRecordQueryResponseDtoResult.php
@@ -0,0 +1,347 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RecordsQuerySettleRecordQueryResponseDtoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RecordsQuerySettleRecordQueryResponseDtoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RecordsQuerySettleRecordQueryResponseDtoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'merchantNo' => 'string',
+ 'settleRecordQueryDtos' => '\Yeepay\Yop\Sdk\Service\Settle\Model\RecordsQuerySettleRecordQueryDtoResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'merchantNo' => null,
+ 'settleRecordQueryDtos' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'merchantNo' => 'merchantNo',
+ 'settleRecordQueryDtos' => 'settleRecordQueryDtos',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'merchantNo' => 'setMerchantNo',
+ 'settleRecordQueryDtos' => 'setSettleRecordQueryDtos',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'merchantNo' => 'getMerchantNo',
+ 'settleRecordQueryDtos' => 'getSettleRecordQueryDtos',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['settleRecordQueryDtos'] = isset($data['settleRecordQueryDtos']) ? $data['settleRecordQueryDtos'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRecordQueryDtos
+ * @return \Yeepay\Yop\Sdk\Service\Settle\Model\RecordsQuerySettleRecordQueryDtoResult[]
+ */
+ public function getSettleRecordQueryDtos()
+ {
+ return $this->container['settleRecordQueryDtos'];
+ }
+
+ /**
+ * Sets settleRecordQueryDtos
+ * @param \Yeepay\Yop\Sdk\Service\Settle\Model\RecordsQuerySettleRecordQueryDtoResult[] $settleRecordQueryDtos 结算订单明细
+ * @return $this
+ */
+ public function setSettleRecordQueryDtos($settleRecordQueryDtos)
+ {
+ $this->container['settleRecordQueryDtos'] = $settleRecordQueryDtos;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/SelfSettleApplyRequest.php b/lib/Service/Settle/Model/SelfSettleApplyRequest.php
new file mode 100644
index 0000000..074b1d7
--- /dev/null
+++ b/lib/Service/Settle/Model/SelfSettleApplyRequest.php
@@ -0,0 +1,171 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return SelfSettleApplyRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return SelfSettleApplyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRequestNo
+ * @return string
+ */
+ public function getSettleRequestNo()
+ {
+ return $this->settleRequestNo;
+ }
+
+ /**
+ * Sets settleRequestNo
+ * @param string $settleRequestNo
+ * @return SelfSettleApplyRequest
+ */
+ public function setSettleRequestNo($settleRequestNo)
+ {
+ $this->settleRequestNo = $settleRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets operatePeriod
+ * @return string
+ */
+ public function getOperatePeriod()
+ {
+ return $this->operatePeriod;
+ }
+
+ /**
+ * Sets operatePeriod
+ * @param string $operatePeriod
+ * @return SelfSettleApplyRequest
+ */
+ public function setOperatePeriod($operatePeriod)
+ {
+ $this->operatePeriod = $operatePeriod;
+
+ return $this;
+ }
+
+ /**
+ * Gets endTime
+ * @return string
+ */
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ /**
+ * Sets endTime
+ * @param string $endTime
+ * @return SelfSettleApplyRequest
+ */
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return SelfSettleApplyRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'selfSettleApply';
+ }
+
+}
diff --git a/lib/Service/Settle/Model/SelfSettleApplyRequestMarshaller.php b/lib/Service/Settle/Model/SelfSettleApplyRequestMarshaller.php
new file mode 100644
index 0000000..644c1b6
--- /dev/null
+++ b/lib/Service/Settle/Model/SelfSettleApplyRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getSettleRequestNo() != null) {
+ $internalRequest->addParameter('settleRequestNo',
+ ObjectSerializer::sanitizeForSerialization($request->getSettleRequestNo(), 'string'));
+ }
+ if ($request->getOperatePeriod() != null) {
+ $internalRequest->addParameter('operatePeriod',
+ ObjectSerializer::sanitizeForSerialization($request->getOperatePeriod(), 'string'));
+ }
+ if ($request->getEndTime() != null) {
+ $internalRequest->addParameter('endTime',
+ ObjectSerializer::sanitizeForSerialization($request->getEndTime(), 'string', 'date-time'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SelfSettleApplyRequestMarshaller::__init();
diff --git a/lib/Service/Settle/Model/SelfSettleApplyResponse.php b/lib/Service/Settle/Model/SelfSettleApplyResponse.php
new file mode 100644
index 0000000..297afcc
--- /dev/null
+++ b/lib/Service/Settle/Model/SelfSettleApplyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SelfSettleApplySelfSettleResponseDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Settle/Model/SelfSettleApplyResponseUnMarshaller.php b/lib/Service/Settle/Model/SelfSettleApplyResponseUnMarshaller.php
new file mode 100644
index 0000000..23fcef5
--- /dev/null
+++ b/lib/Service/Settle/Model/SelfSettleApplyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * SelfSettleApplySelfSettleResponseDtoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class SelfSettleApplySelfSettleResponseDtoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'SelfSettleApplySelfSettleResponseDtoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'settleRequestNo' => 'string',
+ 'yeepayFlowNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'settleRequestNo' => null,
+ 'yeepayFlowNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'settleRequestNo' => 'settleRequestNo',
+ 'yeepayFlowNo' => 'yeepayFlowNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'settleRequestNo' => 'setSettleRequestNo',
+ 'yeepayFlowNo' => 'setYeepayFlowNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'settleRequestNo' => 'getSettleRequestNo',
+ 'yeepayFlowNo' => 'getYeepayFlowNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['settleRequestNo'] = isset($data['settleRequestNo']) ? $data['settleRequestNo'] : null;
+ $this->container['yeepayFlowNo'] = isset($data['yeepayFlowNo']) ? $data['yeepayFlowNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 收款商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets settleRequestNo
+ * @return string
+ */
+ public function getSettleRequestNo()
+ {
+ return $this->container['settleRequestNo'];
+ }
+
+ /**
+ * Sets settleRequestNo
+ * @param string $settleRequestNo 商户结算请求号
+ * @return $this
+ */
+ public function setSettleRequestNo($settleRequestNo)
+ {
+ $this->container['settleRequestNo'] = $settleRequestNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets yeepayFlowNo
+ * @return string
+ */
+ public function getYeepayFlowNo()
+ {
+ return $this->container['yeepayFlowNo'];
+ }
+
+ /**
+ * Sets yeepayFlowNo
+ * @param string $yeepayFlowNo 易宝结算订单号
+ * @return $this
+ */
+ public function setYeepayFlowNo($yeepayFlowNo)
+ {
+ $this->container['yeepayFlowNo'] = $yeepayFlowNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/SettleCardAddMerchantSettleCardResponseDTOResult.php b/lib/Service/Settle/Model/SettleCardAddMerchantSettleCardResponseDTOResult.php
new file mode 100644
index 0000000..2a43fa0
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardAddMerchantSettleCardResponseDTOResult.php
@@ -0,0 +1,374 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * SettleCardAddMerchantSettleCardResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class SettleCardAddMerchantSettleCardResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'SettleCardAddMerchantSettleCardResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'status' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'status' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'status' => 'status',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'status' => 'setStatus',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'status' => 'getStatus',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/SettleCardAddRequest.php b/lib/Service/Settle/Model/SettleCardAddRequest.php
new file mode 100644
index 0000000..24cdecd
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardAddRequest.php
@@ -0,0 +1,171 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return SettleCardAddRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return SettleCardAddRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return SettleCardAddRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardType
+ * @return string
+ */
+ public function getBankCardType()
+ {
+ return $this->bankCardType;
+ }
+
+ /**
+ * Sets bankCardType
+ * @param string $bankCardType
+ * @return SettleCardAddRequest
+ */
+ public function setBankCardType($bankCardType)
+ {
+ $this->bankCardType = $bankCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return SettleCardAddRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets defaultSettleCard
+ * @return bool
+ */
+ public function getDefaultSettleCard()
+ {
+ return $this->defaultSettleCard;
+ }
+
+ /**
+ * Sets defaultSettleCard
+ * @param bool $defaultSettleCard
+ * @return SettleCardAddRequest
+ */
+ public function setDefaultSettleCard($defaultSettleCard)
+ {
+ $this->defaultSettleCard = $defaultSettleCard;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'settleCardAdd';
+ }
+
+}
diff --git a/lib/Service/Settle/Model/SettleCardAddRequestMarshaller.php b/lib/Service/Settle/Model/SettleCardAddRequestMarshaller.php
new file mode 100644
index 0000000..a0b1656
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardAddRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getBankCardType() != null) {
+ $internalRequest->addParameter('bankCardType',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardType(), 'string'));
+ }
+ if ($request->getBankCode() != null) {
+ $internalRequest->addParameter('bankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCode(), 'string'));
+ }
+ if ($request->getDefaultSettleCard() != null) {
+ $internalRequest->addParameter('defaultSettleCard',
+ ObjectSerializer::sanitizeForSerialization($request->getDefaultSettleCard(), 'bool'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SettleCardAddRequestMarshaller::__init();
diff --git a/lib/Service/Settle/Model/SettleCardAddResponse.php b/lib/Service/Settle/Model/SettleCardAddResponse.php
new file mode 100644
index 0000000..17b21d6
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardAddResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SettleCardAddMerchantSettleCardResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Settle/Model/SettleCardAddResponseUnMarshaller.php b/lib/Service/Settle/Model/SettleCardAddResponseUnMarshaller.php
new file mode 100644
index 0000000..c5b1977
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardAddResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+http://wiki.yeepay.com/pages/viewpage.action?pageId=112010456
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Settle\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * SettleCardModifyMerchantSettleCardResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class SettleCardModifyMerchantSettleCardResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'SettleCardModifyMerchantSettleCardResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'status' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'status' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'status' => 'status',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'status' => 'setStatus',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'status' => 'getStatus',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 返回结果
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Settle/Model/SettleCardModifyRequest.php b/lib/Service/Settle/Model/SettleCardModifyRequest.php
new file mode 100644
index 0000000..a89684e
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardModifyRequest.php
@@ -0,0 +1,197 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return SettleCardModifyRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return SettleCardModifyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->bankCardNo;
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo
+ * @return SettleCardModifyRequest
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->bankCardNo = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardType
+ * @return string
+ */
+ public function getBankCardType()
+ {
+ return $this->bankCardType;
+ }
+
+ /**
+ * Sets bankCardType
+ * @param string $bankCardType
+ * @return SettleCardModifyRequest
+ */
+ public function setBankCardType($bankCardType)
+ {
+ $this->bankCardType = $bankCardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCode
+ * @return string
+ */
+ public function getBankCode()
+ {
+ return $this->bankCode;
+ }
+
+ /**
+ * Sets bankCode
+ * @param string $bankCode
+ * @return SettleCardModifyRequest
+ */
+ public function setBankCode($bankCode)
+ {
+ $this->bankCode = $bankCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets brancgCode
+ * @return string
+ */
+ public function getBrancgCode()
+ {
+ return $this->brancgCode;
+ }
+
+ /**
+ * Sets brancgCode
+ * @param string $brancgCode
+ * @return SettleCardModifyRequest
+ */
+ public function setBrancgCode($brancgCode)
+ {
+ $this->brancgCode = $brancgCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets defaultSettleCard
+ * @return bool
+ */
+ public function getDefaultSettleCard()
+ {
+ return $this->defaultSettleCard;
+ }
+
+ /**
+ * Sets defaultSettleCard
+ * @param bool $defaultSettleCard
+ * @return SettleCardModifyRequest
+ */
+ public function setDefaultSettleCard($defaultSettleCard)
+ {
+ $this->defaultSettleCard = $defaultSettleCard;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'settleCardModify';
+ }
+
+}
diff --git a/lib/Service/Settle/Model/SettleCardModifyRequestMarshaller.php b/lib/Service/Settle/Model/SettleCardModifyRequestMarshaller.php
new file mode 100644
index 0000000..939b92c
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardModifyRequestMarshaller.php
@@ -0,0 +1,105 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getBankCardNo() != null) {
+ $internalRequest->addParameter('bankCardNo',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardNo(), 'string'));
+ }
+ if ($request->getBankCardType() != null) {
+ $internalRequest->addParameter('bankCardType',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCardType(), 'string'));
+ }
+ if ($request->getBankCode() != null) {
+ $internalRequest->addParameter('bankCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBankCode(), 'string'));
+ }
+ if ($request->getBrancgCode() != null) {
+ $internalRequest->addParameter('brancgCode',
+ ObjectSerializer::sanitizeForSerialization($request->getBrancgCode(), 'string'));
+ }
+ if ($request->getDefaultSettleCard() != null) {
+ $internalRequest->addParameter('defaultSettleCard',
+ ObjectSerializer::sanitizeForSerialization($request->getDefaultSettleCard(), 'bool'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+SettleCardModifyRequestMarshaller::__init();
diff --git a/lib/Service/Settle/Model/SettleCardModifyResponse.php b/lib/Service/Settle/Model/SettleCardModifyResponse.php
new file mode 100644
index 0000000..6cb97a1
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardModifyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return SettleCardModifyMerchantSettleCardResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Settle/Model/SettleCardModifyResponseUnMarshaller.php b/lib/Service/Settle/Model/SettleCardModifyResponseUnMarshaller.php
new file mode 100644
index 0000000..6710597
--- /dev/null
+++ b/lib/Service/Settle/Model/SettleCardModifyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\BalanceQueryRequest $request
+ * @return Model\BalanceQueryResponse
+ * @throws YopClientException
+ */
+ public function balanceQuery(Model\BalanceQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOperatePeriod() == null) {
+ throw new YopClientException("request.operatePeriod is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\BalanceQueryRequestMarshaller::getInstance(),
+ Model\BalanceQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\FileGetRequest $request
+ * @return YosDownloadResponse
+ * @throws YopClientException
+ */
+ public function fileGet(Model\FileGetRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\FileGetRequestMarshaller::getInstance(),
+ YosDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RecordsQueryRequest $request
+ * @return Model\RecordsQueryResponse
+ * @throws YopClientException
+ */
+ public function recordsQuery(Model\RecordsQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\RecordsQueryRequestMarshaller::getInstance(),
+ Model\RecordsQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SelfSettleApplyRequest $request
+ * @return Model\SelfSettleApplyResponse
+ * @throws YopClientException
+ */
+ public function selfSettleApply(Model\SelfSettleApplyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SelfSettleApplyRequestMarshaller::getInstance(),
+ Model\SelfSettleApplyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SettleCardAddRequest $request
+ * @return Model\SettleCardAddResponse
+ * @throws YopClientException
+ */
+ public function settleCardAdd(Model\SettleCardAddRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SettleCardAddRequestMarshaller::getInstance(),
+ Model\SettleCardAddResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\SettleCardModifyRequest $request
+ * @return Model\SettleCardModifyResponse
+ * @throws YopClientException
+ */
+ public function settleCardModify(Model\SettleCardModifyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\SettleCardModifyRequestMarshaller::getInstance(),
+ Model\SettleCardModifyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Settle/SettleClientBuilder.php b/lib/Service/Settle/SettleClientBuilder.php
new file mode 100644
index 0000000..0f7267d
--- /dev/null
+++ b/lib/Service/Settle/SettleClientBuilder.php
@@ -0,0 +1,80 @@
+register('balanceQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('fileGet',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('recordsQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('selfSettleApply',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('settleCardAdd',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('settleCardModify',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * SettleClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new SettleClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return SettleClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new SettleClientBuilder($clientParams);
+ }
+
+}
+
+SettleClientBuilder::__init();
diff --git a/lib/Service/Std/Model/BillDividedaydownloadRequest.php b/lib/Service/Std/Model/BillDividedaydownloadRequest.php
new file mode 100644
index 0000000..097139a
--- /dev/null
+++ b/lib/Service/Std/Model/BillDividedaydownloadRequest.php
@@ -0,0 +1,67 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BillDividedaydownloadRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets dayString
+ * @return string
+ */
+ public function getDayString()
+ {
+ return $this->dayString;
+ }
+
+ /**
+ * Sets dayString
+ * @param string $dayString
+ * @return BillDividedaydownloadRequest
+ */
+ public function setDayString($dayString)
+ {
+ $this->dayString = $dayString;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'billDividedaydownload';
+ }
+
+}
diff --git a/lib/Service/Std/Model/BillDividedaydownloadRequestMarshaller.php b/lib/Service/Std/Model/BillDividedaydownloadRequestMarshaller.php
new file mode 100644
index 0000000..f34a9e4
--- /dev/null
+++ b/lib/Service/Std/Model/BillDividedaydownloadRequestMarshaller.php
@@ -0,0 +1,77 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BillDividedaydownloadRequestMarshaller::__init();
diff --git a/lib/Service/Std/Model/BillFundbillApplyManualGenerationResponseDTOResult.php b/lib/Service/Std/Model/BillFundbillApplyManualGenerationResponseDTOResult.php
new file mode 100644
index 0000000..580d9ac
--- /dev/null
+++ b/lib/Service/Std/Model/BillFundbillApplyManualGenerationResponseDTOResult.php
@@ -0,0 +1,347 @@
+标准版
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Std\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * BillFundbillApplyManualGenerationResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class BillFundbillApplyManualGenerationResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'BillFundbillApplyManualGenerationResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'fileId' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'fileId' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'fileId' => 'fileId',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'fileId' => 'setFileId',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'fileId' => 'getFileId',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['fileId'] = isset($data['fileId']) ? $data['fileId'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 响应码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 响应信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets fileId
+ * @return string
+ */
+ public function getFileId()
+ {
+ return $this->container['fileId'];
+ }
+
+ /**
+ * Sets fileId
+ * @param string $fileId 文件id
+ * @return $this
+ */
+ public function setFileId($fileId)
+ {
+ $this->container['fileId'] = $fileId;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 文件生成的状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Std/Model/BillFundbillApplyRequest.php b/lib/Service/Std/Model/BillFundbillApplyRequest.php
new file mode 100644
index 0000000..fd5cf07
--- /dev/null
+++ b/lib/Service/Std/Model/BillFundbillApplyRequest.php
@@ -0,0 +1,145 @@
+startDate;
+ }
+
+ /**
+ * Sets startDate
+ * @param string $startDate
+ * @return BillFundbillApplyRequest
+ */
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets endDate
+ * @return string
+ */
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+
+ /**
+ * Sets endDate
+ * @param string $endDate
+ * @return BillFundbillApplyRequest
+ */
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BillFundbillApplyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountType
+ * @return string
+ */
+ public function getAccountType()
+ {
+ return $this->accountType;
+ }
+
+ /**
+ * Sets accountType
+ * @param string $accountType
+ * @return BillFundbillApplyRequest
+ */
+ public function setAccountType($accountType)
+ {
+ $this->accountType = $accountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return BillFundbillApplyRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'billFundbillApply';
+ }
+
+}
diff --git a/lib/Service/Std/Model/BillFundbillApplyRequestMarshaller.php b/lib/Service/Std/Model/BillFundbillApplyRequestMarshaller.php
new file mode 100644
index 0000000..a20254e
--- /dev/null
+++ b/lib/Service/Std/Model/BillFundbillApplyRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getStartDate() != null) {
+ $internalRequest->addParameter('startDate',
+ ObjectSerializer::sanitizeForSerialization($request->getStartDate(), 'string'));
+ }
+ if ($request->getEndDate() != null) {
+ $internalRequest->addParameter('endDate',
+ ObjectSerializer::sanitizeForSerialization($request->getEndDate(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getAccountType() != null) {
+ $internalRequest->addParameter('accountType',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BillFundbillApplyRequestMarshaller::__init();
diff --git a/lib/Service/Std/Model/BillFundbillApplyResponse.php b/lib/Service/Std/Model/BillFundbillApplyResponse.php
new file mode 100644
index 0000000..df8c34f
--- /dev/null
+++ b/lib/Service/Std/Model/BillFundbillApplyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return BillFundbillApplyManualGenerationResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Std/Model/BillFundbillApplyResponseUnMarshaller.php b/lib/Service/Std/Model/BillFundbillApplyResponseUnMarshaller.php
new file mode 100644
index 0000000..99c45a0
--- /dev/null
+++ b/lib/Service/Std/Model/BillFundbillApplyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BillFundbillDownloadRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets fileId
+ * @return string
+ */
+ public function getFileId()
+ {
+ return $this->fileId;
+ }
+
+ /**
+ * Sets fileId
+ * @param string $fileId
+ * @return BillFundbillDownloadRequest
+ */
+ public function setFileId($fileId)
+ {
+ $this->fileId = $fileId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'billFundbillDownload';
+ }
+
+}
diff --git a/lib/Service/Std/Model/BillFundbillDownloadRequestMarshaller.php b/lib/Service/Std/Model/BillFundbillDownloadRequestMarshaller.php
new file mode 100644
index 0000000..364da83
--- /dev/null
+++ b/lib/Service/Std/Model/BillFundbillDownloadRequestMarshaller.php
@@ -0,0 +1,77 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BillFundbillDownloadRequestMarshaller::__init();
diff --git a/lib/Service/Std/Model/BillTradedaydownloadRequest.php b/lib/Service/Std/Model/BillTradedaydownloadRequest.php
new file mode 100644
index 0000000..f0c75c5
--- /dev/null
+++ b/lib/Service/Std/Model/BillTradedaydownloadRequest.php
@@ -0,0 +1,93 @@
+merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return BillTradedaydownloadRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets dayString
+ * @return string
+ */
+ public function getDayString()
+ {
+ return $this->dayString;
+ }
+
+ /**
+ * Sets dayString
+ * @param string $dayString
+ * @return BillTradedaydownloadRequest
+ */
+ public function setDayString($dayString)
+ {
+ $this->dayString = $dayString;
+
+ return $this;
+ }
+
+ /**
+ * Gets dataType
+ * @return string
+ */
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+
+ /**
+ * Sets dataType
+ * @param string $dataType
+ * @return BillTradedaydownloadRequest
+ */
+ public function setDataType($dataType)
+ {
+ $this->dataType = $dataType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'billTradedaydownload';
+ }
+
+}
diff --git a/lib/Service/Std/Model/BillTradedaydownloadRequestMarshaller.php b/lib/Service/Std/Model/BillTradedaydownloadRequestMarshaller.php
new file mode 100644
index 0000000..5b928e9
--- /dev/null
+++ b/lib/Service/Std/Model/BillTradedaydownloadRequestMarshaller.php
@@ -0,0 +1,90 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getDayString() != null) {
+ $internalRequest->addParameter('dayString',
+ ObjectSerializer::sanitizeForSerialization($request->getDayString(), 'string'));
+ }
+ if ($request->getDataType() != null) {
+ $internalRequest->addParameter('dataType',
+ ObjectSerializer::sanitizeForSerialization($request->getDataType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+BillTradedaydownloadRequestMarshaller::__init();
diff --git a/lib/Service/Std/Model/TradeOrderRequest.php b/lib/Service/Std/Model/TradeOrderRequest.php
new file mode 100644
index 0000000..070fde4
--- /dev/null
+++ b/lib/Service/Std/Model/TradeOrderRequest.php
@@ -0,0 +1,86 @@
+= 3) {
+ $fixed = strtolower(substr($name, 0, 3));
+ $key = '';
+ if (strlen($name) > 3) {
+ $key = lcfirst(substr($name, 3));
+ }
+ if ($fixed == 'get' && $key != '') {
+ return $this->$key;
+ } elseif ($fixed == 'set' && $key != '') {
+ $value = $arguments[0];
+ $this->$key = $value;
+
+ return $this;
+ } elseif ($fixed == 'get' && $key == '') {
+ $tkey = $arguments[0];
+
+ return $this->$tkey;
+ } elseif ($fixed == 'set' && $key == '') {
+ $tkey = $arguments[0];
+ $value = $arguments[1];
+ $this->$tkey = $value;
+
+ return $this;
+ }
+ }
+ }
+
+ public static function getOperationId()
+ {
+ return 'tradeOrder';
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Service/Std/Model/TradeOrderRequestMarshaller.php b/lib/Service/Std/Model/TradeOrderRequestMarshaller.php
new file mode 100644
index 0000000..d15c685
--- /dev/null
+++ b/lib/Service/Std/Model/TradeOrderRequestMarshaller.php
@@ -0,0 +1,162 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->get('parentMerchantNo') != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->get('parentMerchantNo'), 'string'));
+ }
+ if ($request->get('merchantNo') != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->get('merchantNo'), 'string'));
+ }
+ if ($request->get('orderId') != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->get('orderId'), 'string'));
+ }
+ if ($request->get('orderAmount') != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->get('orderAmount'), 'string'));
+ }
+ if ($request->get('notifyUrl') != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->get('notifyUrl'), 'string'));
+ }
+ if ($request->get('goodsParamExt') != null) {
+ $internalRequest->addParameter('goodsParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->get('goodsParamExt'), 'string'));
+ }
+ if ($request->get('timeoutExpress') != null) {
+ $internalRequest->addParameter('timeoutExpress',
+ ObjectSerializer::sanitizeForSerialization($request->get('timeoutExpress'), 'integer'));
+ }
+ if ($request->get('timeoutExpressType') != null) {
+ $internalRequest->addParameter('timeoutExpressType',
+ ObjectSerializer::sanitizeForSerialization($request->get('timeoutExpressType'), 'string'));
+ }
+ if ($request->get('requestDate') != null) {
+ $internalRequest->addParameter('requestDate',
+ ObjectSerializer::sanitizeForSerialization($request->get('requestDate'), 'string'));
+ }
+ if ($request->get('redirectUrl') != null) {
+ $internalRequest->addParameter('redirectUrl',
+ ObjectSerializer::sanitizeForSerialization($request->get('redirectUrl'), 'string'));
+ }
+ if ($request->get('paymentParamExt') != null) {
+ $internalRequest->addParameter('paymentParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->get('paymentParamExt'), 'string'));
+ }
+ if ($request->get('industryParamExt') != null) {
+ $internalRequest->addParameter('industryParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->get('industryParamExt'), 'string'));
+ }
+ if ($request->get('riskParamExt') != null) {
+ $internalRequest->addParameter('riskParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->get('riskParamExt'), 'string'));
+ }
+ if ($request->get('memo') != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->get('memo'), 'string'));
+ }
+ if ($request->get('assureType') != null) {
+ $internalRequest->addParameter('assureType',
+ ObjectSerializer::sanitizeForSerialization($request->get('assureType'), 'string'));
+ }
+ if ($request->get('csUrl') != null) {
+ $internalRequest->addParameter('csUrl',
+ ObjectSerializer::sanitizeForSerialization($request->get('csUrl'), 'string'));
+ }
+ if ($request->get('fundProcessType') != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->get('fundProcessType'), 'string'));
+ }
+ if ($request->get('divideDetail') != null) {
+ $internalRequest->addParameter('divideDetail',
+ ObjectSerializer::sanitizeForSerialization($request->get('divideDetail'), 'string'));
+ }
+ if ($request->get('timeoutNotifyUrl') != null) {
+ $internalRequest->addParameter('timeoutNotifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->get('timeoutNotifyUrl'), 'string'));
+ }
+ if ($request->get('assurePeriod') != null) {
+ $internalRequest->addParameter('assurePeriod',
+ ObjectSerializer::sanitizeForSerialization($request->get('assurePeriod'), 'string'));
+ }
+ if ($request->get('queryParamsExt') != null) {
+ $internalRequest->addParameter('queryParamsExt',
+ ObjectSerializer::sanitizeForSerialization($request->get('queryParamsExt'), 'string'));
+ }
+
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+TradeOrderRequestMarshaller::__init();
diff --git a/lib/Service/Std/Model/TradeOrderRequestUnMarshaller.php b/lib/Service/Std/Model/TradeOrderRequestUnMarshaller.php
new file mode 100644
index 0000000..7a896ee
--- /dev/null
+++ b/lib/Service/Std/Model/TradeOrderRequestUnMarshaller.php
@@ -0,0 +1,38 @@
+result = $result;
+ }
+
+ /**
+ * @return TradeOrderResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+}
\ No newline at end of file
diff --git a/lib/Service/Std/Model/TradeOrderResponseDTOResult.php b/lib/Service/Std/Model/TradeOrderResponseDTOResult.php
new file mode 100644
index 0000000..f46a33f
--- /dev/null
+++ b/lib/Service/Std/Model/TradeOrderResponseDTOResult.php
@@ -0,0 +1,388 @@
+ 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'goodsParamExt' => 'string',
+ 'memo' => 'string',
+ 'token' => 'string',
+ 'fundProcessType' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'goodsParamExt' => null,
+ 'memo' => null,
+ 'token' => null,
+ 'fundProcessType' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'goodsParamExt' => 'goodsParamExt',
+ 'memo' => 'memo',
+ 'token' => 'token',
+ 'fundProcessType' => 'fundProcessType',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'goodsParamExt' => 'setGoodsParamExt',
+ 'memo' => 'setMemo',
+ 'token' => 'setToken',
+ 'fundProcessType' => 'setFundProcessType',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'goodsParamExt' => 'getGoodsParamExt',
+ 'memo' => 'getMemo',
+ 'token' => 'getToken',
+ 'fundProcessType' => 'getFundProcessType',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['goodsParamExt'] = isset($data['goodsParamExt']) ? $data['goodsParamExt'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['fundProcessType'] = isset($data['fundProcessType']) ? $data['fundProcessType'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ public function setCode($value = '')
+ {
+ $this->container['code'] = $value;
+
+ return $this;
+ }
+
+ public function setMessage($value = '')
+ {
+ $this->container['message'] = $value;
+
+ return $this;
+ }
+
+ public function setParentMerchantNo($value = '')
+ {
+ $this->container['parentMerchantNo'] = $value;
+
+ return $this;
+ }
+
+ public function setMerchantNo($value = '')
+ {
+ $this->container['merchantNo'] = $value;
+
+ return $this;
+ }
+
+ public function setOrderId($value = '')
+ {
+ $this->container['orderId'] = $value;
+
+ return $this;
+ }
+
+ public function setUniqueOrderNo($value = '')
+ {
+ $this->container['uniqueOrderNo'] = $value;
+
+ return $this;
+ }
+
+ public function setGoodsParamExt($value = '')
+ {
+ $this->container['goodsParamExt'] = $value;
+
+ return $this;
+ }
+
+ public function setMemo($value = '')
+ {
+ $this->container['memo'] = $value;
+
+ return $this;
+ }
+
+ public function setToken($value = '')
+ {
+ $this->container['token'] = $value;
+
+ return $this;
+ }
+
+ public function setFundProcessType($value = '')
+ {
+ $this->container['fundProcessType'] = $value;
+
+ return $this;
+ }
+
+ public function getCode()
+ {
+ return $this->container['code'] ?? '';
+ }
+
+ public function getMessage()
+ {
+ return $this->container['message'] ?? '';
+ }
+
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'] ?? '';
+ }
+
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'] ?? '';
+ }
+
+ public function getOrderId()
+ {
+ return $this->container['orderId'] ?? '';
+ }
+
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'] ?? '';
+ }
+
+ public function getGoodsParamExt()
+ {
+ return $this->container['goodsParamExt'] ?? '';
+ }
+
+ public function getMemo()
+ {
+ return $this->container['memo'] ?? '';
+ }
+
+ public function getToken()
+ {
+ return $this->container['token'] ?? '';
+ }
+
+ public function getFundProcessType()
+ {
+ return $this->container['fundProcessType'] ?? '';
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
\ No newline at end of file
diff --git a/lib/Service/Std/StdClient.php b/lib/Service/Std/StdClient.php
new file mode 100644
index 0000000..f1f538f
--- /dev/null
+++ b/lib/Service/Std/StdClient.php
@@ -0,0 +1,121 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\BillDividedaydownloadRequest $request
+ * @return YosDownloadResponse
+ * @throws YopClientException
+ */
+ public function billDividedaydownload(Model\BillDividedaydownloadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BillDividedaydownloadRequestMarshaller::getInstance(),
+ YosDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BillFundbillApplyRequest $request
+ * @return Model\BillFundbillApplyResponse
+ * @throws YopClientException
+ */
+ public function billFundbillApply(Model\BillFundbillApplyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BillFundbillApplyRequestMarshaller::getInstance(),
+ Model\BillFundbillApplyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BillFundbillDownloadRequest $request
+ * @return YosDownloadResponse
+ * @throws YopClientException
+ */
+ public function billFundbillDownload(Model\BillFundbillDownloadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getFileId() == null) {
+ throw new YopClientException("request.fileId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BillFundbillDownloadRequestMarshaller::getInstance(),
+ YosDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\BillTradedaydownloadRequest $request
+ * @return YosDownloadResponse
+ * @throws YopClientException
+ */
+ public function billTradedaydownload(Model\BillTradedaydownloadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\BillTradedaydownloadRequestMarshaller::getInstance(),
+ YosDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TradeOrderRequest $request
+ * @return Model\TradeOrderResponse
+ * @throws YopClientException
+ */
+ public function tradeOrder(Model\TradeOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\TradeOrderRequestMarshaller::getInstance(),
+ Model\TradeOrderRequestUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Std/StdClientBuilder.php b/lib/Service/Std/StdClientBuilder.php
new file mode 100644
index 0000000..312be5c
--- /dev/null
+++ b/lib/Service/Std/StdClientBuilder.php
@@ -0,0 +1,79 @@
+register('billDividedaydownload',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('billFundbillApply',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('billFundbillDownload',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('billTradedaydownload',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('tradeOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * StdClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new StdClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return StdClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new StdClientBuilder($clientParams);
+ }
+
+}
+
+StdClientBuilder::__init();
diff --git a/lib/Service/Sys/Model/MerchantQualUploadMerFileUploadRespDtoResult.php b/lib/Service/Sys/Model/MerchantQualUploadMerFileUploadRespDtoResult.php
new file mode 100644
index 0000000..40f823d
--- /dev/null
+++ b/lib/Service/Sys/Model/MerchantQualUploadMerFileUploadRespDtoResult.php
@@ -0,0 +1,320 @@
+ 'string',
+ 'returnCode' => 'string',
+ 'merQualUrl' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'returnMsg' => null,
+ 'returnCode' => null,
+ 'merQualUrl' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'returnMsg' => 'returnMsg',
+ 'returnCode' => 'returnCode',
+ 'merQualUrl' => 'merQualUrl',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'returnMsg' => 'setReturnMsg',
+ 'returnCode' => 'setReturnCode',
+ 'merQualUrl' => 'setMerQualUrl',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'returnMsg' => 'getReturnMsg',
+ 'returnCode' => 'getReturnCode',
+ 'merQualUrl' => 'getMerQualUrl',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['returnMsg'] = isset($data['returnMsg']) ? $data['returnMsg'] : null;
+ $this->container['returnCode'] = isset($data['returnCode']) ? $data['returnCode'] : null;
+ $this->container['merQualUrl'] = isset($data['merQualUrl']) ? $data['merQualUrl'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets returnMsg
+ * @return string
+ */
+ public function getReturnMsg()
+ {
+ return $this->container['returnMsg'];
+ }
+
+ /**
+ * Sets returnMsg
+ * @param string $returnMsg 响应信息
+ * @return $this
+ */
+ public function setReturnMsg($returnMsg)
+ {
+ $this->container['returnMsg'] = $returnMsg;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnCode
+ * @return string
+ */
+ public function getReturnCode()
+ {
+ return $this->container['returnCode'];
+ }
+
+ /**
+ * Sets returnCode
+ * @param string $returnCode 响应编码
+ * @return $this
+ */
+ public function setReturnCode($returnCode)
+ {
+ $this->container['returnCode'] = $returnCode;
+
+ return $this;
+ }
+
+ /**
+ * Gets merQualUrl
+ * @return string
+ */
+ public function getMerQualUrl()
+ {
+ return $this->container['merQualUrl'];
+ }
+
+ /**
+ * Sets merQualUrl
+ * @param string $merQualUrl 商户资质存储url
+ * @return $this
+ */
+ public function setMerQualUrl($merQualUrl)
+ {
+ $this->container['merQualUrl'] = $merQualUrl;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/MerchantQualUploadRequest.php b/lib/Service/Sys/Model/MerchantQualUploadRequest.php
new file mode 100644
index 0000000..736a02c
--- /dev/null
+++ b/lib/Service/Sys/Model/MerchantQualUploadRequest.php
@@ -0,0 +1,41 @@
+merQual;
+ }
+
+ /**
+ * Sets merQual
+ * @param Resource $merQual
+ * @return MerchantQualUploadRequest
+ */
+ public function setMerQual($merQual)
+ {
+ $this->merQual = $merQual;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'merchantQualUpload';
+ }
+
+}
diff --git a/lib/Service/Sys/Model/MerchantQualUploadRequestMarshaller.php b/lib/Service/Sys/Model/MerchantQualUploadRequestMarshaller.php
new file mode 100644
index 0000000..9f772ed
--- /dev/null
+++ b/lib/Service/Sys/Model/MerchantQualUploadRequestMarshaller.php
@@ -0,0 +1,79 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ $internalRequest->setYosFlag(true);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getMerQual() != null) {
+ $internalRequest->addMultiPartFile('merQual', $request->getMerQual());
+ }
+
+ return $internalRequest;
+ }
+
+}
+
+MerchantQualUploadRequestMarshaller::__init();
diff --git a/lib/Service/Sys/Model/MerchantQualUploadResponse.php b/lib/Service/Sys/Model/MerchantQualUploadResponse.php
new file mode 100644
index 0000000..abe8746
--- /dev/null
+++ b/lib/Service/Sys/Model/MerchantQualUploadResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return MerchantQualUploadMerFileUploadRespDtoResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Sys/Model/MerchantQualUploadResponseUnMarshaller.php b/lib/Service/Sys/Model/MerchantQualUploadResponseUnMarshaller.php
new file mode 100644
index 0000000..045898d
--- /dev/null
+++ b/lib/Service/Sys/Model/MerchantQualUploadResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return TradeDividebackRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return TradeDividebackRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->divideRequestId;
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId
+ * @return TradeDividebackRequest
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->divideRequestId = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->divideBackRequestId;
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId
+ * @return TradeDividebackRequest
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->divideBackRequestId = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->divideBackDetail;
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail
+ * @return TradeDividebackRequest
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->divideBackDetail = $divideBackDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return TradeDividebackRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TradeDividebackRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return TradeDividebackRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets hmac
+ * @return string
+ */
+ public function getHmac()
+ {
+ return $this->hmac;
+ }
+
+ /**
+ * Sets hmac
+ * @param string $hmac
+ * @return TradeDividebackRequest
+ */
+ public function setHmac($hmac)
+ {
+ $this->hmac = $hmac;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'tradeDivideback';
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeDividebackRequestMarshaller.php b/lib/Service/Sys/Model/TradeDividebackRequestMarshaller.php
new file mode 100644
index 0000000..8b89e4d
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeDividebackRequestMarshaller.php
@@ -0,0 +1,113 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getDivideRequestId() != null) {
+ $internalRequest->addParameter('divideRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideRequestId(), 'string'));
+ }
+ if ($request->getDivideBackRequestId() != null) {
+ $internalRequest->addParameter('divideBackRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideBackRequestId(), 'string'));
+ }
+ if ($request->getDivideBackDetail() != null) {
+ $internalRequest->addParameter('divideBackDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideBackDetail(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getHmac() != null) {
+ $internalRequest->addParameter('hmac',
+ ObjectSerializer::sanitizeForSerialization($request->getHmac(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TradeDividebackRequestMarshaller::__init();
diff --git a/lib/Service/Sys/Model/TradeDividebackResponse.php b/lib/Service/Sys/Model/TradeDividebackResponse.php
new file mode 100644
index 0000000..d8f462e
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeDividebackResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TradeDividebackYopDivideBackResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeDividebackResponseUnMarshaller.php b/lib/Service/Sys/Model/TradeDividebackResponseUnMarshaller.php
new file mode 100644
index 0000000..f84236e
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeDividebackResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'divideRequestId' => 'string',
+ 'divideBackRequestId' => 'string',
+ 'uniqueDivideBackNo' => 'string',
+ 'divideBackDetail' => 'string',
+ 'status' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'divideRequestId' => null,
+ 'divideBackRequestId' => null,
+ 'uniqueDivideBackNo' => null,
+ 'divideBackDetail' => null,
+ 'status' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'divideRequestId' => 'divideRequestId',
+ 'divideBackRequestId' => 'divideBackRequestId',
+ 'uniqueDivideBackNo' => 'uniqueDivideBackNo',
+ 'divideBackDetail' => 'divideBackDetail',
+ 'status' => 'status',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'divideBackRequestId' => 'setDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'setUniqueDivideBackNo',
+ 'divideBackDetail' => 'setDivideBackDetail',
+ 'status' => 'setStatus',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'divideBackRequestId' => 'getDivideBackRequestId',
+ 'uniqueDivideBackNo' => 'getUniqueDivideBackNo',
+ 'divideBackDetail' => 'getDivideBackDetail',
+ 'status' => 'getStatus',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['divideBackRequestId'] = isset($data['divideBackRequestId']) ? $data['divideBackRequestId'] : null;
+ $this->container['uniqueDivideBackNo'] = isset($data['uniqueDivideBackNo']) ? $data['uniqueDivideBackNo'] : null;
+ $this->container['divideBackDetail'] = isset($data['divideBackDetail']) ? $data['divideBackDetail'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 业务方标识
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 父商户
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 子商户
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝统一订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 商户分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackRequestId
+ * @return string
+ */
+ public function getDivideBackRequestId()
+ {
+ return $this->container['divideBackRequestId'];
+ }
+
+ /**
+ * Sets divideBackRequestId
+ * @param string $divideBackRequestId 商户分账退回请求号
+ * @return $this
+ */
+ public function setDivideBackRequestId($divideBackRequestId)
+ {
+ $this->container['divideBackRequestId'] = $divideBackRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueDivideBackNo
+ * @return string
+ */
+ public function getUniqueDivideBackNo()
+ {
+ return $this->container['uniqueDivideBackNo'];
+ }
+
+ /**
+ * Sets uniqueDivideBackNo
+ * @param string $uniqueDivideBackNo 易宝分账退回订单号
+ * @return $this
+ */
+ public function setUniqueDivideBackNo($uniqueDivideBackNo)
+ {
+ $this->container['uniqueDivideBackNo'] = $uniqueDivideBackNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideBackDetail
+ * @return string
+ */
+ public function getDivideBackDetail()
+ {
+ return $this->container['divideBackDetail'];
+ }
+
+ /**
+ * Sets divideBackDetail
+ * @param string $divideBackDetail 分账退回详情
+ * @return $this
+ */
+ public function setDivideBackDetail($divideBackDetail)
+ {
+ $this->container['divideBackDetail'] = $divideBackDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 分账退回订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeOrderRequest.php b/lib/Service/Sys/Model/TradeOrderRequest.php
new file mode 100644
index 0000000..d787629
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderRequest.php
@@ -0,0 +1,639 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TradeOrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return TradeOrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return TradeOrderRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return string
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param string $orderAmount
+ * @return TradeOrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets timeoutExpress
+ * @return int
+ */
+ public function getTimeoutExpress()
+ {
+ return $this->timeoutExpress;
+ }
+
+ /**
+ * Sets timeoutExpress
+ * @param int $timeoutExpress
+ * @return TradeOrderRequest
+ */
+ public function setTimeoutExpress($timeoutExpress)
+ {
+ $this->timeoutExpress = $timeoutExpress;
+
+ return $this;
+ }
+
+ /**
+ * Gets timeoutExpressType
+ * @return string
+ */
+ public function getTimeoutExpressType()
+ {
+ return $this->timeoutExpressType;
+ }
+
+ /**
+ * Sets timeoutExpressType
+ * @param string $timeoutExpressType
+ * @return TradeOrderRequest
+ */
+ public function setTimeoutExpressType($timeoutExpressType)
+ {
+ $this->timeoutExpressType = $timeoutExpressType;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestDate
+ * @return string
+ */
+ public function getRequestDate()
+ {
+ return $this->requestDate;
+ }
+
+ /**
+ * Sets requestDate
+ * @param string $requestDate
+ * @return TradeOrderRequest
+ */
+ public function setRequestDate($requestDate)
+ {
+ $this->requestDate = $requestDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets redirectUrl
+ * @return string
+ */
+ public function getRedirectUrl()
+ {
+ return $this->redirectUrl;
+ }
+
+ /**
+ * Sets redirectUrl
+ * @param string $redirectUrl
+ * @return TradeOrderRequest
+ */
+ public function setRedirectUrl($redirectUrl)
+ {
+ $this->redirectUrl = $redirectUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return TradeOrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets assureType
+ * @return string
+ */
+ public function getAssureType()
+ {
+ return $this->assureType;
+ }
+
+ /**
+ * Sets assureType
+ * @param string $assureType
+ * @return TradeOrderRequest
+ */
+ public function setAssureType($assureType)
+ {
+ $this->assureType = $assureType;
+
+ return $this;
+ }
+
+ /**
+ * Gets assurePeriod
+ * @return string
+ */
+ public function getAssurePeriod()
+ {
+ return $this->assurePeriod;
+ }
+
+ /**
+ * Sets assurePeriod
+ * @param string $assurePeriod
+ * @return TradeOrderRequest
+ */
+ public function setAssurePeriod($assurePeriod)
+ {
+ $this->assurePeriod = $assurePeriod;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsParamExt
+ * @return string
+ */
+ public function getGoodsParamExt()
+ {
+ return $this->goodsParamExt;
+ }
+
+ /**
+ * Sets goodsParamExt
+ * @param string $goodsParamExt
+ * @return TradeOrderRequest
+ */
+ public function setGoodsParamExt($goodsParamExt)
+ {
+ $this->goodsParamExt = $goodsParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentParamExt
+ * @return string
+ */
+ public function getPaymentParamExt()
+ {
+ return $this->paymentParamExt;
+ }
+
+ /**
+ * Sets paymentParamExt
+ * @param string $paymentParamExt
+ * @return TradeOrderRequest
+ */
+ public function setPaymentParamExt($paymentParamExt)
+ {
+ $this->paymentParamExt = $paymentParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets industryParamExt
+ * @return string
+ */
+ public function getIndustryParamExt()
+ {
+ return $this->industryParamExt;
+ }
+
+ /**
+ * Sets industryParamExt
+ * @param string $industryParamExt
+ * @return TradeOrderRequest
+ */
+ public function setIndustryParamExt($industryParamExt)
+ {
+ $this->industryParamExt = $industryParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets riskParamExt
+ * @return string
+ */
+ public function getRiskParamExt()
+ {
+ return $this->riskParamExt;
+ }
+
+ /**
+ * Sets riskParamExt
+ * @param string $riskParamExt
+ * @return TradeOrderRequest
+ */
+ public function setRiskParamExt($riskParamExt)
+ {
+ $this->riskParamExt = $riskParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return TradeOrderRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return TradeOrderRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets hmac
+ * @return string
+ */
+ public function getHmac()
+ {
+ return $this->hmac;
+ }
+
+ /**
+ * Sets hmac
+ * @param string $hmac
+ * @return TradeOrderRequest
+ */
+ public function setHmac($hmac)
+ {
+ $this->hmac = $hmac;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideDetail
+ * @return string
+ */
+ public function getDivideDetail()
+ {
+ return $this->divideDetail;
+ }
+
+ /**
+ * Sets divideDetail
+ * @param string $divideDetail
+ * @return TradeOrderRequest
+ */
+ public function setDivideDetail($divideDetail)
+ {
+ $this->divideDetail = $divideDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets csUrl
+ * @return string
+ */
+ public function getCsUrl()
+ {
+ return $this->csUrl;
+ }
+
+ /**
+ * Sets csUrl
+ * @param string $csUrl
+ * @return TradeOrderRequest
+ */
+ public function setCsUrl($csUrl)
+ {
+ $this->csUrl = $csUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideNotifyUrl
+ * @return string
+ */
+ public function getDivideNotifyUrl()
+ {
+ return $this->divideNotifyUrl;
+ }
+
+ /**
+ * Sets divideNotifyUrl
+ * @param string $divideNotifyUrl
+ * @return TradeOrderRequest
+ */
+ public function setDivideNotifyUrl($divideNotifyUrl)
+ {
+ $this->divideNotifyUrl = $divideNotifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets timeoutNotifyUrl
+ * @return string
+ */
+ public function getTimeoutNotifyUrl()
+ {
+ return $this->timeoutNotifyUrl;
+ }
+
+ /**
+ * Sets timeoutNotifyUrl
+ * @param string $timeoutNotifyUrl
+ * @return TradeOrderRequest
+ */
+ public function setTimeoutNotifyUrl($timeoutNotifyUrl)
+ {
+ $this->timeoutNotifyUrl = $timeoutNotifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets siSubsidyMerchantAmout
+ * @return string
+ */
+ public function getSiSubsidyMerchantAmout()
+ {
+ return $this->siSubsidyMerchantAmout;
+ }
+
+ /**
+ * Sets siSubsidyMerchantAmout
+ * @param string $siSubsidyMerchantAmout
+ * @return TradeOrderRequest
+ */
+ public function setSiSubsidyMerchantAmout($siSubsidyMerchantAmout)
+ {
+ $this->siSubsidyMerchantAmout = $siSubsidyMerchantAmout;
+
+ return $this;
+ }
+
+ /**
+ * Gets queryParamsExt
+ * @return string
+ */
+ public function getQueryParamsExt()
+ {
+ return $this->queryParamsExt;
+ }
+
+ /**
+ * Sets queryParamsExt
+ * @param string $queryParamsExt
+ * @return TradeOrderRequest
+ */
+ public function setQueryParamsExt($queryParamsExt)
+ {
+ $this->queryParamsExt = $queryParamsExt;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'tradeOrder';
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeOrderRequestMarshaller.php b/lib/Service/Sys/Model/TradeOrderRequestMarshaller.php
new file mode 100644
index 0000000..db850ac
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderRequestMarshaller.php
@@ -0,0 +1,173 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'string'));
+ }
+ if ($request->getTimeoutExpress() != null) {
+ $internalRequest->addParameter('timeoutExpress',
+ ObjectSerializer::sanitizeForSerialization($request->getTimeoutExpress(), 'int', 'int32'));
+ }
+ if ($request->getTimeoutExpressType() != null) {
+ $internalRequest->addParameter('timeoutExpressType',
+ ObjectSerializer::sanitizeForSerialization($request->getTimeoutExpressType(), 'string'));
+ }
+ if ($request->getRequestDate() != null) {
+ $internalRequest->addParameter('requestDate',
+ ObjectSerializer::sanitizeForSerialization($request->getRequestDate(), 'string'));
+ }
+ if ($request->getRedirectUrl() != null) {
+ $internalRequest->addParameter('redirectUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getRedirectUrl(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getAssureType() != null) {
+ $internalRequest->addParameter('assureType',
+ ObjectSerializer::sanitizeForSerialization($request->getAssureType(), 'string'));
+ }
+ if ($request->getAssurePeriod() != null) {
+ $internalRequest->addParameter('assurePeriod',
+ ObjectSerializer::sanitizeForSerialization($request->getAssurePeriod(), 'string'));
+ }
+ if ($request->getGoodsParamExt() != null) {
+ $internalRequest->addParameter('goodsParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsParamExt(), 'string'));
+ }
+ if ($request->getPaymentParamExt() != null) {
+ $internalRequest->addParameter('paymentParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->getPaymentParamExt(), 'string'));
+ }
+ if ($request->getIndustryParamExt() != null) {
+ $internalRequest->addParameter('industryParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->getIndustryParamExt(), 'string'));
+ }
+ if ($request->getRiskParamExt() != null) {
+ $internalRequest->addParameter('riskParamExt',
+ ObjectSerializer::sanitizeForSerialization($request->getRiskParamExt(), 'string'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getHmac() != null) {
+ $internalRequest->addParameter('hmac',
+ ObjectSerializer::sanitizeForSerialization($request->getHmac(), 'string'));
+ }
+ if ($request->getDivideDetail() != null) {
+ $internalRequest->addParameter('divideDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideDetail(), 'string'));
+ }
+ if ($request->getCsUrl() != null) {
+ $internalRequest->addParameter('csUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getCsUrl(), 'string'));
+ }
+ if ($request->getDivideNotifyUrl() != null) {
+ $internalRequest->addParameter('divideNotifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getDivideNotifyUrl(), 'string'));
+ }
+ if ($request->getTimeoutNotifyUrl() != null) {
+ $internalRequest->addParameter('timeoutNotifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getTimeoutNotifyUrl(), 'string'));
+ }
+ if ($request->getSiSubsidyMerchantAmout() != null) {
+ $internalRequest->addParameter('siSubsidyMerchantAmout',
+ ObjectSerializer::sanitizeForSerialization($request->getSiSubsidyMerchantAmout(), 'string'));
+ }
+ if ($request->getQueryParamsExt() != null) {
+ $internalRequest->addParameter('queryParamsExt',
+ ObjectSerializer::sanitizeForSerialization($request->getQueryParamsExt(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TradeOrderRequestMarshaller::__init();
diff --git a/lib/Service/Sys/Model/TradeOrderResponse.php b/lib/Service/Sys/Model/TradeOrderResponse.php
new file mode 100644
index 0000000..23e89ad
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TradeOrderYopCreateOrderResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeOrderResponseUnMarshaller.php b/lib/Service/Sys/Model/TradeOrderResponseUnMarshaller.php
new file mode 100644
index 0000000..1c2e11f
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'goodsParamExt' => 'string',
+ 'memo' => 'string',
+ 'token' => 'string',
+ 'fundProcessType' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'goodsParamExt' => null,
+ 'memo' => null,
+ 'token' => null,
+ 'fundProcessType' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'goodsParamExt' => 'goodsParamExt',
+ 'memo' => 'memo',
+ 'token' => 'token',
+ 'fundProcessType' => 'fundProcessType',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'goodsParamExt' => 'setGoodsParamExt',
+ 'memo' => 'setMemo',
+ 'token' => 'setToken',
+ 'fundProcessType' => 'setFundProcessType',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'goodsParamExt' => 'getGoodsParamExt',
+ 'memo' => 'getMemo',
+ 'token' => 'getToken',
+ 'fundProcessType' => 'getFundProcessType',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['goodsParamExt'] = isset($data['goodsParamExt']) ? $data['goodsParamExt'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['fundProcessType'] = isset($data['fundProcessType']) ? $data['fundProcessType'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 平台商商户号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 子商户商户号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝统一订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsParamExt
+ * @return string
+ */
+ public function getGoodsParamExt()
+ {
+ return $this->container['goodsParamExt'];
+ }
+
+ /**
+ * Sets goodsParamExt
+ * @param string $goodsParamExt 商品拓展信息
+ * @return $this
+ */
+ public function setGoodsParamExt($goodsParamExt)
+ {
+ $this->container['goodsParamExt'] = $goodsParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 自定义对账备注
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->container['fundProcessType'];
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType 资金处理类型
+ * @return $this
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->container['fundProcessType'] = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeOrderqueryBankPromotionInfoDTOResult.php b/lib/Service/Sys/Model/TradeOrderqueryBankPromotionInfoDTOResult.php
new file mode 100644
index 0000000..88b1a5f
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderqueryBankPromotionInfoDTOResult.php
@@ -0,0 +1,671 @@
+ 'int',
+ 'payInterface' => 'string',
+ 'bankOrderNo' => 'string',
+ 'tradeType' => 'string',
+ 'promotionId' => 'string',
+ 'promotionName' => 'string',
+ 'promotionScope' => 'string',
+ 'promotionType' => 'string',
+ 'amount' => 'float',
+ 'amountRefund' => 'float',
+ 'activityId' => 'string',
+ 'channelContribute' => 'string',
+ 'merchantContribute' => 'string',
+ 'otherContribute' => 'string',
+ 'memo' => 'string',
+ 'orderTime' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'id' => 'int64',
+ 'payInterface' => null,
+ 'bankOrderNo' => null,
+ 'tradeType' => null,
+ 'promotionId' => null,
+ 'promotionName' => null,
+ 'promotionScope' => null,
+ 'promotionType' => null,
+ 'amount' => null,
+ 'amountRefund' => null,
+ 'activityId' => null,
+ 'channelContribute' => null,
+ 'merchantContribute' => null,
+ 'otherContribute' => null,
+ 'memo' => null,
+ 'orderTime' => 'date-time',
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'id' => 'id',
+ 'payInterface' => 'payInterface',
+ 'bankOrderNo' => 'bankOrderNo',
+ 'tradeType' => 'tradeType',
+ 'promotionId' => 'promotionId',
+ 'promotionName' => 'promotionName',
+ 'promotionScope' => 'promotionScope',
+ 'promotionType' => 'promotionType',
+ 'amount' => 'amount',
+ 'amountRefund' => 'amountRefund',
+ 'activityId' => 'activityId',
+ 'channelContribute' => 'channelContribute',
+ 'merchantContribute' => 'merchantContribute',
+ 'otherContribute' => 'otherContribute',
+ 'memo' => 'memo',
+ 'orderTime' => 'orderTime',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'id' => 'setId',
+ 'payInterface' => 'setPayInterface',
+ 'bankOrderNo' => 'setBankOrderNo',
+ 'tradeType' => 'setTradeType',
+ 'promotionId' => 'setPromotionId',
+ 'promotionName' => 'setPromotionName',
+ 'promotionScope' => 'setPromotionScope',
+ 'promotionType' => 'setPromotionType',
+ 'amount' => 'setAmount',
+ 'amountRefund' => 'setAmountRefund',
+ 'activityId' => 'setActivityId',
+ 'channelContribute' => 'setChannelContribute',
+ 'merchantContribute' => 'setMerchantContribute',
+ 'otherContribute' => 'setOtherContribute',
+ 'memo' => 'setMemo',
+ 'orderTime' => 'setOrderTime',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'id' => 'getId',
+ 'payInterface' => 'getPayInterface',
+ 'bankOrderNo' => 'getBankOrderNo',
+ 'tradeType' => 'getTradeType',
+ 'promotionId' => 'getPromotionId',
+ 'promotionName' => 'getPromotionName',
+ 'promotionScope' => 'getPromotionScope',
+ 'promotionType' => 'getPromotionType',
+ 'amount' => 'getAmount',
+ 'amountRefund' => 'getAmountRefund',
+ 'activityId' => 'getActivityId',
+ 'channelContribute' => 'getChannelContribute',
+ 'merchantContribute' => 'getMerchantContribute',
+ 'otherContribute' => 'getOtherContribute',
+ 'memo' => 'getMemo',
+ 'orderTime' => 'getOrderTime',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['id'] = isset($data['id']) ? $data['id'] : null;
+ $this->container['payInterface'] = isset($data['payInterface']) ? $data['payInterface'] : null;
+ $this->container['bankOrderNo'] = isset($data['bankOrderNo']) ? $data['bankOrderNo'] : null;
+ $this->container['tradeType'] = isset($data['tradeType']) ? $data['tradeType'] : null;
+ $this->container['promotionId'] = isset($data['promotionId']) ? $data['promotionId'] : null;
+ $this->container['promotionName'] = isset($data['promotionName']) ? $data['promotionName'] : null;
+ $this->container['promotionScope'] = isset($data['promotionScope']) ? $data['promotionScope'] : null;
+ $this->container['promotionType'] = isset($data['promotionType']) ? $data['promotionType'] : null;
+ $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
+ $this->container['amountRefund'] = isset($data['amountRefund']) ? $data['amountRefund'] : null;
+ $this->container['activityId'] = isset($data['activityId']) ? $data['activityId'] : null;
+ $this->container['channelContribute'] = isset($data['channelContribute']) ? $data['channelContribute'] : null;
+ $this->container['merchantContribute'] = isset($data['merchantContribute']) ? $data['merchantContribute'] : null;
+ $this->container['otherContribute'] = isset($data['otherContribute']) ? $data['otherContribute'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ $this->container['orderTime'] = isset($data['orderTime']) ? $data['orderTime'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets id
+ * @return int
+ */
+ public function getId()
+ {
+ return $this->container['id'];
+ }
+
+ /**
+ * Sets id
+ * @param int $id 优惠券主键id
+ * @return $this
+ */
+ public function setId($id)
+ {
+ $this->container['id'] = $id;
+
+ return $this;
+ }
+
+ /**
+ * Gets payInterface
+ * @return string
+ */
+ public function getPayInterface()
+ {
+ return $this->container['payInterface'];
+ }
+
+ /**
+ * Sets payInterface
+ * @param string $payInterface 实体通道编码
+ * @return $this
+ */
+ public function setPayInterface($payInterface)
+ {
+ $this->container['payInterface'] = $payInterface;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankOrderNo
+ * @return string
+ */
+ public function getBankOrderNo()
+ {
+ return $this->container['bankOrderNo'];
+ }
+
+ /**
+ * Sets bankOrderNo
+ * @param string $bankOrderNo 订单号
+ * @return $this
+ */
+ public function setBankOrderNo($bankOrderNo)
+ {
+ $this->container['bankOrderNo'] = $bankOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets tradeType
+ * @return string
+ */
+ public function getTradeType()
+ {
+ return $this->container['tradeType'];
+ }
+
+ /**
+ * Sets tradeType
+ * @param string $tradeType 交易类型
+ * @return $this
+ */
+ public function setTradeType($tradeType)
+ {
+ $this->container['tradeType'] = $tradeType;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionId
+ * @return string
+ */
+ public function getPromotionId()
+ {
+ return $this->container['promotionId'];
+ }
+
+ /**
+ * Sets promotionId
+ * @param string $promotionId 优惠券编码
+ * @return $this
+ */
+ public function setPromotionId($promotionId)
+ {
+ $this->container['promotionId'] = $promotionId;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionName
+ * @return string
+ */
+ public function getPromotionName()
+ {
+ return $this->container['promotionName'];
+ }
+
+ /**
+ * Sets promotionName
+ * @param string $promotionName 优惠券名称
+ * @return $this
+ */
+ public function setPromotionName($promotionName)
+ {
+ $this->container['promotionName'] = $promotionName;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionScope
+ * @return string
+ */
+ public function getPromotionScope()
+ {
+ return $this->container['promotionScope'];
+ }
+
+ /**
+ * Sets promotionScope
+ * @param string $promotionScope 优惠券范围
+ * @return $this
+ */
+ public function setPromotionScope($promotionScope)
+ {
+ $this->container['promotionScope'] = $promotionScope;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionType
+ * @return string
+ */
+ public function getPromotionType()
+ {
+ return $this->container['promotionType'];
+ }
+
+ /**
+ * Sets promotionType
+ * @param string $promotionType 优惠券类型
+ * @return $this
+ */
+ public function setPromotionType($promotionType)
+ {
+ $this->container['promotionType'] = $promotionType;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->container['amount'];
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount 券金额
+ * @return $this
+ */
+ public function setAmount($amount)
+ {
+ $this->container['amount'] = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets amountRefund
+ * @return float
+ */
+ public function getAmountRefund()
+ {
+ return $this->container['amountRefund'];
+ }
+
+ /**
+ * Sets amountRefund
+ * @param float $amountRefund 券退回金额
+ * @return $this
+ */
+ public function setAmountRefund($amountRefund)
+ {
+ $this->container['amountRefund'] = $amountRefund;
+
+ return $this;
+ }
+
+ /**
+ * Gets activityId
+ * @return string
+ */
+ public function getActivityId()
+ {
+ return $this->container['activityId'];
+ }
+
+ /**
+ * Sets activityId
+ * @param string $activityId 优惠券活动id
+ * @return $this
+ */
+ public function setActivityId($activityId)
+ {
+ $this->container['activityId'] = $activityId;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelContribute
+ * @return string
+ */
+ public function getChannelContribute()
+ {
+ return $this->container['channelContribute'];
+ }
+
+ /**
+ * Sets channelContribute
+ * @param string $channelContribute 渠道出资
+ * @return $this
+ */
+ public function setChannelContribute($channelContribute)
+ {
+ $this->container['channelContribute'] = $channelContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantContribute
+ * @return string
+ */
+ public function getMerchantContribute()
+ {
+ return $this->container['merchantContribute'];
+ }
+
+ /**
+ * Sets merchantContribute
+ * @param string $merchantContribute 商户出资
+ * @return $this
+ */
+ public function setMerchantContribute($merchantContribute)
+ {
+ $this->container['merchantContribute'] = $merchantContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets otherContribute
+ * @return string
+ */
+ public function getOtherContribute()
+ {
+ return $this->container['otherContribute'];
+ }
+
+ /**
+ * Sets otherContribute
+ * @param string $otherContribute 其他出资
+ * @return $this
+ */
+ public function setOtherContribute($otherContribute)
+ {
+ $this->container['otherContribute'] = $otherContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 备注信息
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderTime
+ * @return string
+ */
+ public function getOrderTime()
+ {
+ return $this->container['orderTime'];
+ }
+
+ /**
+ * Sets orderTime
+ * @param string $orderTime 订单交易时间
+ * @return $this
+ */
+ public function setOrderTime($orderTime)
+ {
+ $this->container['orderTime'] = $orderTime;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeOrderqueryCombPaymentDTOResult.php b/lib/Service/Sys/Model/TradeOrderqueryCombPaymentDTOResult.php
new file mode 100644
index 0000000..4d549ba
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderqueryCombPaymentDTOResult.php
@@ -0,0 +1,348 @@
+ 'string',
+ 'secondBankOrderNo' => 'string',
+ 'secondAmount' => 'float',
+ 'secondPaySuccessDate' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'secondPayOrderNo' => null,
+ 'secondBankOrderNo' => null,
+ 'secondAmount' => null,
+ 'secondPaySuccessDate' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'secondPayOrderNo' => 'secondPayOrderNo',
+ 'secondBankOrderNo' => 'secondBankOrderNo',
+ 'secondAmount' => 'secondAmount',
+ 'secondPaySuccessDate' => 'secondPaySuccessDate',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'secondPayOrderNo' => 'setSecondPayOrderNo',
+ 'secondBankOrderNo' => 'setSecondBankOrderNo',
+ 'secondAmount' => 'setSecondAmount',
+ 'secondPaySuccessDate' => 'setSecondPaySuccessDate',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'secondPayOrderNo' => 'getSecondPayOrderNo',
+ 'secondBankOrderNo' => 'getSecondBankOrderNo',
+ 'secondAmount' => 'getSecondAmount',
+ 'secondPaySuccessDate' => 'getSecondPaySuccessDate',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['secondPayOrderNo'] = isset($data['secondPayOrderNo']) ? $data['secondPayOrderNo'] : null;
+ $this->container['secondBankOrderNo'] = isset($data['secondBankOrderNo']) ? $data['secondBankOrderNo'] : null;
+ $this->container['secondAmount'] = isset($data['secondAmount']) ? $data['secondAmount'] : null;
+ $this->container['secondPaySuccessDate'] = isset($data['secondPaySuccessDate']) ? $data['secondPaySuccessDate'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets secondPayOrderNo
+ * @return string
+ */
+ public function getSecondPayOrderNo()
+ {
+ return $this->container['secondPayOrderNo'];
+ }
+
+ /**
+ * Sets secondPayOrderNo
+ * @param string $secondPayOrderNo 第二支付订单号
+ * @return $this
+ */
+ public function setSecondPayOrderNo($secondPayOrderNo)
+ {
+ $this->container['secondPayOrderNo'] = $secondPayOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets secondBankOrderNo
+ * @return string
+ */
+ public function getSecondBankOrderNo()
+ {
+ return $this->container['secondBankOrderNo'];
+ }
+
+ /**
+ * Sets secondBankOrderNo
+ * @param string $secondBankOrderNo 第二银行订单号
+ * @return $this
+ */
+ public function setSecondBankOrderNo($secondBankOrderNo)
+ {
+ $this->container['secondBankOrderNo'] = $secondBankOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets secondAmount
+ * @return float
+ */
+ public function getSecondAmount()
+ {
+ return $this->container['secondAmount'];
+ }
+
+ /**
+ * Sets secondAmount
+ * @param float $secondAmount 第二支付金额
+ * @return $this
+ */
+ public function setSecondAmount($secondAmount)
+ {
+ $this->container['secondAmount'] = $secondAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets secondPaySuccessDate
+ * @return string
+ */
+ public function getSecondPaySuccessDate()
+ {
+ return $this->container['secondPaySuccessDate'];
+ }
+
+ /**
+ * Sets secondPaySuccessDate
+ * @param string $secondPaySuccessDate 第二支付完成时间
+ * @return $this
+ */
+ public function setSecondPaySuccessDate($secondPaySuccessDate)
+ {
+ $this->container['secondPaySuccessDate'] = $secondPaySuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeOrderqueryRequest.php b/lib/Service/Sys/Model/TradeOrderqueryRequest.php
new file mode 100644
index 0000000..832b96b
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderqueryRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TradeOrderqueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return TradeOrderqueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return TradeOrderqueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return TradeOrderqueryRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets hmac
+ * @return string
+ */
+ public function getHmac()
+ {
+ return $this->hmac;
+ }
+
+ /**
+ * Sets hmac
+ * @param string $hmac
+ * @return TradeOrderqueryRequest
+ */
+ public function setHmac($hmac)
+ {
+ $this->hmac = $hmac;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'tradeOrderquery';
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeOrderqueryRequestMarshaller.php b/lib/Service/Sys/Model/TradeOrderqueryRequestMarshaller.php
new file mode 100644
index 0000000..d8b54b4
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderqueryRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getHmac() != null) {
+ $internalRequest->addParameter('hmac',
+ ObjectSerializer::sanitizeForSerialization($request->getHmac(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TradeOrderqueryRequestMarshaller::__init();
diff --git a/lib/Service/Sys/Model/TradeOrderqueryResponse.php b/lib/Service/Sys/Model/TradeOrderqueryResponse.php
new file mode 100644
index 0000000..93a1f8f
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderqueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TradeOrderqueryYopQueryOrderResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeOrderqueryResponseUnMarshaller.php b/lib/Service/Sys/Model/TradeOrderqueryResponseUnMarshaller.php
new file mode 100644
index 0000000..e8c9894
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeOrderqueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'status' => 'string',
+ 'orderAmount' => 'float',
+ 'payAmount' => 'float',
+ 'merchantFee' => 'float',
+ 'customerFee' => 'float',
+ 'requestDate' => 'string',
+ 'paySuccessDate' => 'string',
+ 'goodsParamExt' => 'string',
+ 'memo' => 'string',
+ 'instCompany' => 'string',
+ 'instNumber' => 'string',
+ 'industryParamExt' => 'string',
+ 'cashierType' => 'string',
+ 'paymentProduct' => 'string',
+ 'token' => 'string',
+ 'bankId' => 'string',
+ 'cardType' => 'string',
+ 'platformType' => 'string',
+ 'payURL' => 'string',
+ 'openID' => 'string',
+ 'unionID' => 'string',
+ 'buyerLogonId' => 'string',
+ 'fundProcessType' => 'string',
+ 'bizChannelId' => 'string',
+ 'bankPaySuccessDate' => 'string',
+ 'bankTrxId' => 'string',
+ 'haveAccounted' => 'bool',
+ 'accountPayMerchantNo' => 'string',
+ 'residualDivideAmount' => 'string',
+ 'preauthStatus' => 'string',
+ 'preauthType' => 'string',
+ 'preauthAmount' => 'float',
+ 'paymentSysNo' => 'string',
+ 'paymentStatus' => 'string',
+ 'divideRequestId' => 'string',
+ 'parentMerchantName' => 'string',
+ 'merchantName' => 'string',
+ 'combPaymentDTO' => '\Yeepay\Yop\Sdk\Service\Sys\Model\TradeOrderqueryCombPaymentDTOResult',
+ 'cashFee' => 'float',
+ 'settlementFee' => 'float',
+ 'bankOrderId' => 'string',
+ 'bankCardNo' => 'string',
+ 'mobilePhoneNo' => 'string',
+ 'calFeeMerchantNo' => 'string',
+ 'bankPromotionInfoDTOList' => '\Yeepay\Yop\Sdk\Service\Sys\Model\TradeOrderqueryBankPromotionInfoDTOResult[]',
+ 'pyerAcctTp' => 'string',
+ 'pyerAcctId' => 'string',
+ 'pyerAcctNm' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'status' => null,
+ 'orderAmount' => null,
+ 'payAmount' => null,
+ 'merchantFee' => null,
+ 'customerFee' => null,
+ 'requestDate' => null,
+ 'paySuccessDate' => null,
+ 'goodsParamExt' => null,
+ 'memo' => null,
+ 'instCompany' => null,
+ 'instNumber' => null,
+ 'industryParamExt' => null,
+ 'cashierType' => null,
+ 'paymentProduct' => null,
+ 'token' => null,
+ 'bankId' => null,
+ 'cardType' => null,
+ 'platformType' => null,
+ 'payURL' => null,
+ 'openID' => null,
+ 'unionID' => null,
+ 'buyerLogonId' => null,
+ 'fundProcessType' => null,
+ 'bizChannelId' => null,
+ 'bankPaySuccessDate' => null,
+ 'bankTrxId' => null,
+ 'haveAccounted' => null,
+ 'accountPayMerchantNo' => null,
+ 'residualDivideAmount' => null,
+ 'preauthStatus' => null,
+ 'preauthType' => null,
+ 'preauthAmount' => null,
+ 'paymentSysNo' => null,
+ 'paymentStatus' => null,
+ 'divideRequestId' => null,
+ 'parentMerchantName' => null,
+ 'merchantName' => null,
+ 'combPaymentDTO' => null,
+ 'cashFee' => null,
+ 'settlementFee' => null,
+ 'bankOrderId' => null,
+ 'bankCardNo' => null,
+ 'mobilePhoneNo' => null,
+ 'calFeeMerchantNo' => null,
+ 'bankPromotionInfoDTOList' => null,
+ 'pyerAcctTp' => null,
+ 'pyerAcctId' => null,
+ 'pyerAcctNm' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'status' => 'status',
+ 'orderAmount' => 'orderAmount',
+ 'payAmount' => 'payAmount',
+ 'merchantFee' => 'merchantFee',
+ 'customerFee' => 'customerFee',
+ 'requestDate' => 'requestDate',
+ 'paySuccessDate' => 'paySuccessDate',
+ 'goodsParamExt' => 'goodsParamExt',
+ 'memo' => 'memo',
+ 'instCompany' => 'instCompany',
+ 'instNumber' => 'instNumber',
+ 'industryParamExt' => 'industryParamExt',
+ 'cashierType' => 'cashierType',
+ 'paymentProduct' => 'paymentProduct',
+ 'token' => 'token',
+ 'bankId' => 'bankId',
+ 'cardType' => 'cardType',
+ 'platformType' => 'platformType',
+ 'payURL' => 'payURL',
+ 'openID' => 'openID',
+ 'unionID' => 'unionID',
+ 'buyerLogonId' => 'buyerLogonId',
+ 'fundProcessType' => 'fundProcessType',
+ 'bizChannelId' => 'bizChannelId',
+ 'bankPaySuccessDate' => 'bankPaySuccessDate',
+ 'bankTrxId' => 'bankTrxId',
+ 'haveAccounted' => 'haveAccounted',
+ 'accountPayMerchantNo' => 'accountPayMerchantNo',
+ 'residualDivideAmount' => 'residualDivideAmount',
+ 'preauthStatus' => 'preauthStatus',
+ 'preauthType' => 'preauthType',
+ 'preauthAmount' => 'preauthAmount',
+ 'paymentSysNo' => 'paymentSysNo',
+ 'paymentStatus' => 'paymentStatus',
+ 'divideRequestId' => 'divideRequestId',
+ 'parentMerchantName' => 'parentMerchantName',
+ 'merchantName' => 'merchantName',
+ 'combPaymentDTO' => 'combPaymentDTO',
+ 'cashFee' => 'cashFee',
+ 'settlementFee' => 'settlementFee',
+ 'bankOrderId' => 'bankOrderId',
+ 'bankCardNo' => 'bankCardNo',
+ 'mobilePhoneNo' => 'mobilePhoneNo',
+ 'calFeeMerchantNo' => 'calFeeMerchantNo',
+ 'bankPromotionInfoDTOList' => 'bankPromotionInfoDTOList',
+ 'pyerAcctTp' => 'pyerAcctTp',
+ 'pyerAcctId' => 'pyerAcctId',
+ 'pyerAcctNm' => 'pyerAcctNm',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'status' => 'setStatus',
+ 'orderAmount' => 'setOrderAmount',
+ 'payAmount' => 'setPayAmount',
+ 'merchantFee' => 'setMerchantFee',
+ 'customerFee' => 'setCustomerFee',
+ 'requestDate' => 'setRequestDate',
+ 'paySuccessDate' => 'setPaySuccessDate',
+ 'goodsParamExt' => 'setGoodsParamExt',
+ 'memo' => 'setMemo',
+ 'instCompany' => 'setInstCompany',
+ 'instNumber' => 'setInstNumber',
+ 'industryParamExt' => 'setIndustryParamExt',
+ 'cashierType' => 'setCashierType',
+ 'paymentProduct' => 'setPaymentProduct',
+ 'token' => 'setToken',
+ 'bankId' => 'setBankId',
+ 'cardType' => 'setCardType',
+ 'platformType' => 'setPlatformType',
+ 'payURL' => 'setPayURL',
+ 'openID' => 'setOpenID',
+ 'unionID' => 'setUnionID',
+ 'buyerLogonId' => 'setBuyerLogonId',
+ 'fundProcessType' => 'setFundProcessType',
+ 'bizChannelId' => 'setBizChannelId',
+ 'bankPaySuccessDate' => 'setBankPaySuccessDate',
+ 'bankTrxId' => 'setBankTrxId',
+ 'haveAccounted' => 'setHaveAccounted',
+ 'accountPayMerchantNo' => 'setAccountPayMerchantNo',
+ 'residualDivideAmount' => 'setResidualDivideAmount',
+ 'preauthStatus' => 'setPreauthStatus',
+ 'preauthType' => 'setPreauthType',
+ 'preauthAmount' => 'setPreauthAmount',
+ 'paymentSysNo' => 'setPaymentSysNo',
+ 'paymentStatus' => 'setPaymentStatus',
+ 'divideRequestId' => 'setDivideRequestId',
+ 'parentMerchantName' => 'setParentMerchantName',
+ 'merchantName' => 'setMerchantName',
+ 'combPaymentDTO' => 'setCombPaymentDTO',
+ 'cashFee' => 'setCashFee',
+ 'settlementFee' => 'setSettlementFee',
+ 'bankOrderId' => 'setBankOrderId',
+ 'bankCardNo' => 'setBankCardNo',
+ 'mobilePhoneNo' => 'setMobilePhoneNo',
+ 'calFeeMerchantNo' => 'setCalFeeMerchantNo',
+ 'bankPromotionInfoDTOList' => 'setBankPromotionInfoDTOList',
+ 'pyerAcctTp' => 'setPyerAcctTp',
+ 'pyerAcctId' => 'setPyerAcctId',
+ 'pyerAcctNm' => 'setPyerAcctNm',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'status' => 'getStatus',
+ 'orderAmount' => 'getOrderAmount',
+ 'payAmount' => 'getPayAmount',
+ 'merchantFee' => 'getMerchantFee',
+ 'customerFee' => 'getCustomerFee',
+ 'requestDate' => 'getRequestDate',
+ 'paySuccessDate' => 'getPaySuccessDate',
+ 'goodsParamExt' => 'getGoodsParamExt',
+ 'memo' => 'getMemo',
+ 'instCompany' => 'getInstCompany',
+ 'instNumber' => 'getInstNumber',
+ 'industryParamExt' => 'getIndustryParamExt',
+ 'cashierType' => 'getCashierType',
+ 'paymentProduct' => 'getPaymentProduct',
+ 'token' => 'getToken',
+ 'bankId' => 'getBankId',
+ 'cardType' => 'getCardType',
+ 'platformType' => 'getPlatformType',
+ 'payURL' => 'getPayURL',
+ 'openID' => 'getOpenID',
+ 'unionID' => 'getUnionID',
+ 'buyerLogonId' => 'getBuyerLogonId',
+ 'fundProcessType' => 'getFundProcessType',
+ 'bizChannelId' => 'getBizChannelId',
+ 'bankPaySuccessDate' => 'getBankPaySuccessDate',
+ 'bankTrxId' => 'getBankTrxId',
+ 'haveAccounted' => 'getHaveAccounted',
+ 'accountPayMerchantNo' => 'getAccountPayMerchantNo',
+ 'residualDivideAmount' => 'getResidualDivideAmount',
+ 'preauthStatus' => 'getPreauthStatus',
+ 'preauthType' => 'getPreauthType',
+ 'preauthAmount' => 'getPreauthAmount',
+ 'paymentSysNo' => 'getPaymentSysNo',
+ 'paymentStatus' => 'getPaymentStatus',
+ 'divideRequestId' => 'getDivideRequestId',
+ 'parentMerchantName' => 'getParentMerchantName',
+ 'merchantName' => 'getMerchantName',
+ 'combPaymentDTO' => 'getCombPaymentDTO',
+ 'cashFee' => 'getCashFee',
+ 'settlementFee' => 'getSettlementFee',
+ 'bankOrderId' => 'getBankOrderId',
+ 'bankCardNo' => 'getBankCardNo',
+ 'mobilePhoneNo' => 'getMobilePhoneNo',
+ 'calFeeMerchantNo' => 'getCalFeeMerchantNo',
+ 'bankPromotionInfoDTOList' => 'getBankPromotionInfoDTOList',
+ 'pyerAcctTp' => 'getPyerAcctTp',
+ 'pyerAcctId' => 'getPyerAcctId',
+ 'pyerAcctNm' => 'getPyerAcctNm',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['payAmount'] = isset($data['payAmount']) ? $data['payAmount'] : null;
+ $this->container['merchantFee'] = isset($data['merchantFee']) ? $data['merchantFee'] : null;
+ $this->container['customerFee'] = isset($data['customerFee']) ? $data['customerFee'] : null;
+ $this->container['requestDate'] = isset($data['requestDate']) ? $data['requestDate'] : null;
+ $this->container['paySuccessDate'] = isset($data['paySuccessDate']) ? $data['paySuccessDate'] : null;
+ $this->container['goodsParamExt'] = isset($data['goodsParamExt']) ? $data['goodsParamExt'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ $this->container['instCompany'] = isset($data['instCompany']) ? $data['instCompany'] : null;
+ $this->container['instNumber'] = isset($data['instNumber']) ? $data['instNumber'] : null;
+ $this->container['industryParamExt'] = isset($data['industryParamExt']) ? $data['industryParamExt'] : null;
+ $this->container['cashierType'] = isset($data['cashierType']) ? $data['cashierType'] : null;
+ $this->container['paymentProduct'] = isset($data['paymentProduct']) ? $data['paymentProduct'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['bankId'] = isset($data['bankId']) ? $data['bankId'] : null;
+ $this->container['cardType'] = isset($data['cardType']) ? $data['cardType'] : null;
+ $this->container['platformType'] = isset($data['platformType']) ? $data['platformType'] : null;
+ $this->container['payURL'] = isset($data['payURL']) ? $data['payURL'] : null;
+ $this->container['openID'] = isset($data['openID']) ? $data['openID'] : null;
+ $this->container['unionID'] = isset($data['unionID']) ? $data['unionID'] : null;
+ $this->container['buyerLogonId'] = isset($data['buyerLogonId']) ? $data['buyerLogonId'] : null;
+ $this->container['fundProcessType'] = isset($data['fundProcessType']) ? $data['fundProcessType'] : null;
+ $this->container['bizChannelId'] = isset($data['bizChannelId']) ? $data['bizChannelId'] : null;
+ $this->container['bankPaySuccessDate'] = isset($data['bankPaySuccessDate']) ? $data['bankPaySuccessDate'] : null;
+ $this->container['bankTrxId'] = isset($data['bankTrxId']) ? $data['bankTrxId'] : null;
+ $this->container['haveAccounted'] = isset($data['haveAccounted']) ? $data['haveAccounted'] : null;
+ $this->container['accountPayMerchantNo'] = isset($data['accountPayMerchantNo']) ? $data['accountPayMerchantNo'] : null;
+ $this->container['residualDivideAmount'] = isset($data['residualDivideAmount']) ? $data['residualDivideAmount'] : null;
+ $this->container['preauthStatus'] = isset($data['preauthStatus']) ? $data['preauthStatus'] : null;
+ $this->container['preauthType'] = isset($data['preauthType']) ? $data['preauthType'] : null;
+ $this->container['preauthAmount'] = isset($data['preauthAmount']) ? $data['preauthAmount'] : null;
+ $this->container['paymentSysNo'] = isset($data['paymentSysNo']) ? $data['paymentSysNo'] : null;
+ $this->container['paymentStatus'] = isset($data['paymentStatus']) ? $data['paymentStatus'] : null;
+ $this->container['divideRequestId'] = isset($data['divideRequestId']) ? $data['divideRequestId'] : null;
+ $this->container['parentMerchantName'] = isset($data['parentMerchantName']) ? $data['parentMerchantName'] : null;
+ $this->container['merchantName'] = isset($data['merchantName']) ? $data['merchantName'] : null;
+ $this->container['combPaymentDTO'] = isset($data['combPaymentDTO']) ? $data['combPaymentDTO'] : null;
+ $this->container['cashFee'] = isset($data['cashFee']) ? $data['cashFee'] : null;
+ $this->container['settlementFee'] = isset($data['settlementFee']) ? $data['settlementFee'] : null;
+ $this->container['bankOrderId'] = isset($data['bankOrderId']) ? $data['bankOrderId'] : null;
+ $this->container['bankCardNo'] = isset($data['bankCardNo']) ? $data['bankCardNo'] : null;
+ $this->container['mobilePhoneNo'] = isset($data['mobilePhoneNo']) ? $data['mobilePhoneNo'] : null;
+ $this->container['calFeeMerchantNo'] = isset($data['calFeeMerchantNo']) ? $data['calFeeMerchantNo'] : null;
+ $this->container['bankPromotionInfoDTOList'] = isset($data['bankPromotionInfoDTOList']) ? $data['bankPromotionInfoDTOList'] : null;
+ $this->container['pyerAcctTp'] = isset($data['pyerAcctTp']) ? $data['pyerAcctTp'] : null;
+ $this->container['pyerAcctId'] = isset($data['pyerAcctId']) ? $data['pyerAcctId'] : null;
+ $this->container['pyerAcctNm'] = isset($data['pyerAcctNm']) ? $data['pyerAcctNm'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 未命名
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 父商户编号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo merchantNo
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝统一订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 订单金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets payAmount
+ * @return float
+ */
+ public function getPayAmount()
+ {
+ return $this->container['payAmount'];
+ }
+
+ /**
+ * Sets payAmount
+ * @param float $payAmount 支付金额
+ * @return $this
+ */
+ public function setPayAmount($payAmount)
+ {
+ $this->container['payAmount'] = $payAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFee
+ * @return float
+ */
+ public function getMerchantFee()
+ {
+ return $this->container['merchantFee'];
+ }
+
+ /**
+ * Sets merchantFee
+ * @param float $merchantFee 商户手续费
+ * @return $this
+ */
+ public function setMerchantFee($merchantFee)
+ {
+ $this->container['merchantFee'] = $merchantFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets customerFee
+ * @return float
+ */
+ public function getCustomerFee()
+ {
+ return $this->container['customerFee'];
+ }
+
+ /**
+ * Sets customerFee
+ * @param float $customerFee 用户手续费
+ * @return $this
+ */
+ public function setCustomerFee($customerFee)
+ {
+ $this->container['customerFee'] = $customerFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets requestDate
+ * @return string
+ */
+ public function getRequestDate()
+ {
+ return $this->container['requestDate'];
+ }
+
+ /**
+ * Sets requestDate
+ * @param string $requestDate 请求时间
+ * @return $this
+ */
+ public function setRequestDate($requestDate)
+ {
+ $this->container['requestDate'] = $requestDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets paySuccessDate
+ * @return string
+ */
+ public function getPaySuccessDate()
+ {
+ return $this->container['paySuccessDate'];
+ }
+
+ /**
+ * Sets paySuccessDate
+ * @param string $paySuccessDate 支付成功时间
+ * @return $this
+ */
+ public function setPaySuccessDate($paySuccessDate)
+ {
+ $this->container['paySuccessDate'] = $paySuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsParamExt
+ * @return string
+ */
+ public function getGoodsParamExt()
+ {
+ return $this->container['goodsParamExt'];
+ }
+
+ /**
+ * Sets goodsParamExt
+ * @param string $goodsParamExt 商品拓展信息
+ * @return $this
+ */
+ public function setGoodsParamExt($goodsParamExt)
+ {
+ $this->container['goodsParamExt'] = $goodsParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 自定义对账备注
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets instCompany
+ * @return string
+ */
+ public function getInstCompany()
+ {
+ return $this->container['instCompany'];
+ }
+
+ /**
+ * Sets instCompany
+ * @param string $instCompany 分期公司
+ * @return $this
+ */
+ public function setInstCompany($instCompany)
+ {
+ $this->container['instCompany'] = $instCompany;
+
+ return $this;
+ }
+
+ /**
+ * Gets instNumber
+ * @return string
+ */
+ public function getInstNumber()
+ {
+ return $this->container['instNumber'];
+ }
+
+ /**
+ * Sets instNumber
+ * @param string $instNumber 分期期数
+ * @return $this
+ */
+ public function setInstNumber($instNumber)
+ {
+ $this->container['instNumber'] = $instNumber;
+
+ return $this;
+ }
+
+ /**
+ * Gets industryParamExt
+ * @return string
+ */
+ public function getIndustryParamExt()
+ {
+ return $this->container['industryParamExt'];
+ }
+
+ /**
+ * Sets industryParamExt
+ * @param string $industryParamExt 行业拓展参数
+ * @return $this
+ */
+ public function setIndustryParamExt($industryParamExt)
+ {
+ $this->container['industryParamExt'] = $industryParamExt;
+
+ return $this;
+ }
+
+ /**
+ * Gets cashierType
+ * @return string
+ */
+ public function getCashierType()
+ {
+ return $this->container['cashierType'];
+ }
+
+ /**
+ * Sets cashierType
+ * @param string $cashierType 收款场景
+ * @return $this
+ */
+ public function setCashierType($cashierType)
+ {
+ $this->container['cashierType'] = $cashierType;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentProduct
+ * @return string
+ */
+ public function getPaymentProduct()
+ {
+ return $this->container['paymentProduct'];
+ }
+
+ /**
+ * Sets paymentProduct
+ * @param string $paymentProduct 支付产品
+ * @return $this
+ */
+ public function setPaymentProduct($paymentProduct)
+ {
+ $this->container['paymentProduct'] = $paymentProduct;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankId
+ * @return string
+ */
+ public function getBankId()
+ {
+ return $this->container['bankId'];
+ }
+
+ /**
+ * Sets bankId
+ * @param string $bankId 银行编码
+ * @return $this
+ */
+ public function setBankId($bankId)
+ {
+ $this->container['bankId'] = $bankId;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardType
+ * @return string
+ */
+ public function getCardType()
+ {
+ return $this->container['cardType'];
+ }
+
+ /**
+ * Sets cardType
+ * @param string $cardType 付款人卡类型
+ * @return $this
+ */
+ public function setCardType($cardType)
+ {
+ $this->container['cardType'] = $cardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets platformType
+ * @return string
+ */
+ public function getPlatformType()
+ {
+ return $this->container['platformType'];
+ }
+
+ /**
+ * Sets platformType
+ * @param string $platformType 平台类型字段
+ * @return $this
+ */
+ public function setPlatformType($platformType)
+ {
+ $this->container['platformType'] = $platformType;
+
+ return $this;
+ }
+
+ /**
+ * Gets payURL
+ * @return string
+ */
+ public function getPayURL()
+ {
+ return $this->container['payURL'];
+ }
+
+ /**
+ * Sets payURL
+ * @param string $payURL 支付链接
+ * @return $this
+ */
+ public function setPayURL($payURL)
+ {
+ $this->container['payURL'] = $payURL;
+
+ return $this;
+ }
+
+ /**
+ * Gets openID
+ * @return string
+ */
+ public function getOpenID()
+ {
+ return $this->container['openID'];
+ }
+
+ /**
+ * Sets openID
+ * @param string $openID 微信被扫返回的openID
+ * @return $this
+ */
+ public function setOpenID($openID)
+ {
+ $this->container['openID'] = $openID;
+
+ return $this;
+ }
+
+ /**
+ * Gets unionID
+ * @return string
+ */
+ public function getUnionID()
+ {
+ return $this->container['unionID'];
+ }
+
+ /**
+ * Sets unionID
+ * @param string $unionID 微信被扫返回的unionID
+ * @return $this
+ */
+ public function setUnionID($unionID)
+ {
+ $this->container['unionID'] = $unionID;
+
+ return $this;
+ }
+
+ /**
+ * Gets buyerLogonId
+ * @return string
+ */
+ public function getBuyerLogonId()
+ {
+ return $this->container['buyerLogonId'];
+ }
+
+ /**
+ * Sets buyerLogonId
+ * @param string $buyerLogonId 支付宝买家登录账号
+ * @return $this
+ */
+ public function setBuyerLogonId($buyerLogonId)
+ {
+ $this->container['buyerLogonId'] = $buyerLogonId;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->container['fundProcessType'];
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType 资金处理类型
+ * @return $this
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->container['fundProcessType'] = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizChannelId
+ * @return string
+ */
+ public function getBizChannelId()
+ {
+ return $this->container['bizChannelId'];
+ }
+
+ /**
+ * Sets bizChannelId
+ * @param string $bizChannelId 业务通道标识
+ * @return $this
+ */
+ public function setBizChannelId($bizChannelId)
+ {
+ $this->container['bizChannelId'] = $bizChannelId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPaySuccessDate
+ * @return string
+ */
+ public function getBankPaySuccessDate()
+ {
+ return $this->container['bankPaySuccessDate'];
+ }
+
+ /**
+ * Sets bankPaySuccessDate
+ * @param string $bankPaySuccessDate 银行支付成功时间
+ * @return $this
+ */
+ public function setBankPaySuccessDate($bankPaySuccessDate)
+ {
+ $this->container['bankPaySuccessDate'] = $bankPaySuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankTrxId
+ * @return string
+ */
+ public function getBankTrxId()
+ {
+ return $this->container['bankTrxId'];
+ }
+
+ /**
+ * Sets bankTrxId
+ * @param string $bankTrxId 银行交易流水号
+ * @return $this
+ */
+ public function setBankTrxId($bankTrxId)
+ {
+ $this->container['bankTrxId'] = $bankTrxId;
+
+ return $this;
+ }
+
+ /**
+ * Gets haveAccounted
+ * @return bool
+ */
+ public function getHaveAccounted()
+ {
+ return $this->container['haveAccounted'];
+ }
+
+ /**
+ * Sets haveAccounted
+ * @param bool $haveAccounted 是否已入账
+ * @return $this
+ */
+ public function setHaveAccounted($haveAccounted)
+ {
+ $this->container['haveAccounted'] = $haveAccounted;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountPayMerchantNo
+ * @return string
+ */
+ public function getAccountPayMerchantNo()
+ {
+ return $this->container['accountPayMerchantNo'];
+ }
+
+ /**
+ * Sets accountPayMerchantNo
+ * @param string $accountPayMerchantNo 企业账户支付付款商商编
+ * @return $this
+ */
+ public function setAccountPayMerchantNo($accountPayMerchantNo)
+ {
+ $this->container['accountPayMerchantNo'] = $accountPayMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets residualDivideAmount
+ * @return string
+ */
+ public function getResidualDivideAmount()
+ {
+ return $this->container['residualDivideAmount'];
+ }
+
+ /**
+ * Sets residualDivideAmount
+ * @param string $residualDivideAmount 剩余可分账金额
+ * @return $this
+ */
+ public function setResidualDivideAmount($residualDivideAmount)
+ {
+ $this->container['residualDivideAmount'] = $residualDivideAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets preauthStatus
+ * @return string
+ */
+ public function getPreauthStatus()
+ {
+ return $this->container['preauthStatus'];
+ }
+
+ /**
+ * Sets preauthStatus
+ * @param string $preauthStatus 预授权状态
+ * @return $this
+ */
+ public function setPreauthStatus($preauthStatus)
+ {
+ $this->container['preauthStatus'] = $preauthStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets preauthType
+ * @return string
+ */
+ public function getPreauthType()
+ {
+ return $this->container['preauthType'];
+ }
+
+ /**
+ * Sets preauthType
+ * @param string $preauthType 预授权类型
+ * @return $this
+ */
+ public function setPreauthType($preauthType)
+ {
+ $this->container['preauthType'] = $preauthType;
+
+ return $this;
+ }
+
+ /**
+ * Gets preauthAmount
+ * @return float
+ */
+ public function getPreauthAmount()
+ {
+ return $this->container['preauthAmount'];
+ }
+
+ /**
+ * Sets preauthAmount
+ * @param float $preauthAmount 预授权冻结金额
+ * @return $this
+ */
+ public function setPreauthAmount($preauthAmount)
+ {
+ $this->container['preauthAmount'] = $preauthAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentSysNo
+ * @return string
+ */
+ public function getPaymentSysNo()
+ {
+ return $this->container['paymentSysNo'];
+ }
+
+ /**
+ * Sets paymentSysNo
+ * @param string $paymentSysNo 支付系统单号
+ * @return $this
+ */
+ public function setPaymentSysNo($paymentSysNo)
+ {
+ $this->container['paymentSysNo'] = $paymentSysNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets paymentStatus
+ * @return string
+ */
+ public function getPaymentStatus()
+ {
+ return $this->container['paymentStatus'];
+ }
+
+ /**
+ * Sets paymentStatus
+ * @param string $paymentStatus 支付状态
+ * @return $this
+ */
+ public function setPaymentStatus($paymentStatus)
+ {
+ $this->container['paymentStatus'] = $paymentStatus;
+
+ return $this;
+ }
+
+ /**
+ * Gets divideRequestId
+ * @return string
+ */
+ public function getDivideRequestId()
+ {
+ return $this->container['divideRequestId'];
+ }
+
+ /**
+ * Sets divideRequestId
+ * @param string $divideRequestId 分账请求号
+ * @return $this
+ */
+ public function setDivideRequestId($divideRequestId)
+ {
+ $this->container['divideRequestId'] = $divideRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantName
+ * @return string
+ */
+ public function getParentMerchantName()
+ {
+ return $this->container['parentMerchantName'];
+ }
+
+ /**
+ * Sets parentMerchantName
+ * @param string $parentMerchantName 父商户名称
+ * @return $this
+ */
+ public function setParentMerchantName($parentMerchantName)
+ {
+ $this->container['parentMerchantName'] = $parentMerchantName;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantName
+ * @return string
+ */
+ public function getMerchantName()
+ {
+ return $this->container['merchantName'];
+ }
+
+ /**
+ * Sets merchantName
+ * @param string $merchantName 子商户名称
+ * @return $this
+ */
+ public function setMerchantName($merchantName)
+ {
+ $this->container['merchantName'] = $merchantName;
+
+ return $this;
+ }
+
+ /**
+ * Gets combPaymentDTO
+ * @return \Yeepay\Yop\Sdk\Service\Sys\Model\TradeOrderqueryCombPaymentDTOResult
+ */
+ public function getCombPaymentDTO()
+ {
+ return $this->container['combPaymentDTO'];
+ }
+
+ /**
+ * Sets combPaymentDTO
+ * @param \Yeepay\Yop\Sdk\Service\Sys\Model\TradeOrderqueryCombPaymentDTOResult $combPaymentDTO 营销支付
+ * @return $this
+ */
+ public function setCombPaymentDTO($combPaymentDTO)
+ {
+ $this->container['combPaymentDTO'] = $combPaymentDTO;
+
+ return $this;
+ }
+
+ /**
+ * Gets cashFee
+ * @return float
+ */
+ public function getCashFee()
+ {
+ return $this->container['cashFee'];
+ }
+
+ /**
+ * Sets cashFee
+ * @param float $cashFee 卡券现金支付金额
+ * @return $this
+ */
+ public function setCashFee($cashFee)
+ {
+ $this->container['cashFee'] = $cashFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets settlementFee
+ * @return float
+ */
+ public function getSettlementFee()
+ {
+ return $this->container['settlementFee'];
+ }
+
+ /**
+ * Sets settlementFee
+ * @param float $settlementFee 卡券应结算金额
+ * @return $this
+ */
+ public function setSettlementFee($settlementFee)
+ {
+ $this->container['settlementFee'] = $settlementFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankOrderId
+ * @return string
+ */
+ public function getBankOrderId()
+ {
+ return $this->container['bankOrderId'];
+ }
+
+ /**
+ * Sets bankOrderId
+ * @param string $bankOrderId 银行订单号
+ * @return $this
+ */
+ public function setBankOrderId($bankOrderId)
+ {
+ $this->container['bankOrderId'] = $bankOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->container['bankCardNo'];
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo 银行卡号
+ * @return $this
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->container['bankCardNo'] = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets mobilePhoneNo
+ * @return string
+ */
+ public function getMobilePhoneNo()
+ {
+ return $this->container['mobilePhoneNo'];
+ }
+
+ /**
+ * Sets mobilePhoneNo
+ * @param string $mobilePhoneNo 手机号(前3后4)
+ * @return $this
+ */
+ public function setMobilePhoneNo($mobilePhoneNo)
+ {
+ $this->container['mobilePhoneNo'] = $mobilePhoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets calFeeMerchantNo
+ * @return string
+ */
+ public function getCalFeeMerchantNo()
+ {
+ return $this->container['calFeeMerchantNo'];
+ }
+
+ /**
+ * Sets calFeeMerchantNo
+ * @param string $calFeeMerchantNo 计费商编
+ * @return $this
+ */
+ public function setCalFeeMerchantNo($calFeeMerchantNo)
+ {
+ $this->container['calFeeMerchantNo'] = $calFeeMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPromotionInfoDTOList
+ * @return \Yeepay\Yop\Sdk\Service\Sys\Model\TradeOrderqueryBankPromotionInfoDTOResult[]
+ */
+ public function getBankPromotionInfoDTOList()
+ {
+ return $this->container['bankPromotionInfoDTOList'];
+ }
+
+ /**
+ * Sets bankPromotionInfoDTOList
+ * @param \Yeepay\Yop\Sdk\Service\Sys\Model\TradeOrderqueryBankPromotionInfoDTOResult[] $bankPromotionInfoDTOList 银行营销列表
+ * @return $this
+ */
+ public function setBankPromotionInfoDTOList($bankPromotionInfoDTOList)
+ {
+ $this->container['bankPromotionInfoDTOList'] = $bankPromotionInfoDTOList;
+
+ return $this;
+ }
+
+ /**
+ * Gets pyerAcctTp
+ * @return string
+ */
+ public function getPyerAcctTp()
+ {
+ return $this->container['pyerAcctTp'];
+ }
+
+ /**
+ * Sets pyerAcctTp
+ * @param string $pyerAcctTp 付款方账户类型
+ * @return $this
+ */
+ public function setPyerAcctTp($pyerAcctTp)
+ {
+ $this->container['pyerAcctTp'] = $pyerAcctTp;
+
+ return $this;
+ }
+
+ /**
+ * Gets pyerAcctId
+ * @return string
+ */
+ public function getPyerAcctId()
+ {
+ return $this->container['pyerAcctId'];
+ }
+
+ /**
+ * Sets pyerAcctId
+ * @param string $pyerAcctId 付款方账户编号
+ * @return $this
+ */
+ public function setPyerAcctId($pyerAcctId)
+ {
+ $this->container['pyerAcctId'] = $pyerAcctId;
+
+ return $this;
+ }
+
+ /**
+ * Gets pyerAcctNm
+ * @return string
+ */
+ public function getPyerAcctNm()
+ {
+ return $this->container['pyerAcctNm'];
+ }
+
+ /**
+ * Sets pyerAcctNm
+ * @param string $pyerAcctNm 付款方账户名称
+ * @return $this
+ */
+ public function setPyerAcctNm($pyerAcctNm)
+ {
+ $this->container['pyerAcctNm'] = $pyerAcctNm;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeRefundRequest.php b/lib/Service/Sys/Model/TradeRefundRequest.php
new file mode 100644
index 0000000..c23efd6
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundRequest.php
@@ -0,0 +1,353 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TradeRefundRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return TradeRefundRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return TradeRefundRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return TradeRefundRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return TradeRefundRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->refundAmount;
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount
+ * @return TradeRefundRequest
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->refundAmount = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountDivided
+ * @return string
+ */
+ public function getAccountDivided()
+ {
+ return $this->accountDivided;
+ }
+
+ /**
+ * Sets accountDivided
+ * @param string $accountDivided
+ * @return TradeRefundRequest
+ */
+ public function setAccountDivided($accountDivided)
+ {
+ $this->accountDivided = $accountDivided;
+
+ return $this;
+ }
+
+ /**
+ * Gets description
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Sets description
+ * @param string $description
+ * @return TradeRefundRequest
+ */
+ public function setDescription($description)
+ {
+ $this->description = $description;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return TradeRefundRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return TradeRefundRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets hmac
+ * @return string
+ */
+ public function getHmac()
+ {
+ return $this->hmac;
+ }
+
+ /**
+ * Sets hmac
+ * @param string $hmac
+ * @return TradeRefundRequest
+ */
+ public function setHmac($hmac)
+ {
+ $this->hmac = $hmac;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantSideMarketingRefundDetails
+ * @return string
+ */
+ public function getMerchantSideMarketingRefundDetails()
+ {
+ return $this->merchantSideMarketingRefundDetails;
+ }
+
+ /**
+ * Sets merchantSideMarketingRefundDetails
+ * @param string $merchantSideMarketingRefundDetails
+ * @return TradeRefundRequest
+ */
+ public function setMerchantSideMarketingRefundDetails($merchantSideMarketingRefundDetails)
+ {
+ $this->merchantSideMarketingRefundDetails = $merchantSideMarketingRefundDetails;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAccountType
+ * @return string
+ */
+ public function getRefundAccountType()
+ {
+ return $this->refundAccountType;
+ }
+
+ /**
+ * Sets refundAccountType
+ * @param string $refundAccountType
+ * @return TradeRefundRequest
+ */
+ public function setRefundAccountType($refundAccountType)
+ {
+ $this->refundAccountType = $refundAccountType;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'tradeRefund';
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeRefundRequestMarshaller.php b/lib/Service/Sys/Model/TradeRefundRequestMarshaller.php
new file mode 100644
index 0000000..61aa825
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundRequestMarshaller.php
@@ -0,0 +1,130 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getRefundRequestId() != null) {
+ $internalRequest->addParameter('refundRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundRequestId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getRefundAmount() != null) {
+ $internalRequest->addParameter('refundAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundAmount(), 'string'));
+ }
+ if ($request->getAccountDivided() != null) {
+ $internalRequest->addParameter('accountDivided',
+ ObjectSerializer::sanitizeForSerialization($request->getAccountDivided(), 'string'));
+ }
+ if ($request->getDescription() != null) {
+ $internalRequest->addParameter('description',
+ ObjectSerializer::sanitizeForSerialization($request->getDescription(), 'string'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getHmac() != null) {
+ $internalRequest->addParameter('hmac',
+ ObjectSerializer::sanitizeForSerialization($request->getHmac(), 'string'));
+ }
+ if ($request->getMerchantSideMarketingRefundDetails() != null) {
+ $internalRequest->addParameter('merchantSideMarketingRefundDetails',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantSideMarketingRefundDetails(),
+ 'string'));
+ }
+ if ($request->getRefundAccountType() != null) {
+ $internalRequest->addParameter('refundAccountType',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundAccountType(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TradeRefundRequestMarshaller::__init();
diff --git a/lib/Service/Sys/Model/TradeRefundResponse.php b/lib/Service/Sys/Model/TradeRefundResponse.php
new file mode 100644
index 0000000..14fb903
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TradeRefundResponseRefundDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeRefundResponseRefundDTOResult.php b/lib/Service/Sys/Model/TradeRefundResponseRefundDTOResult.php
new file mode 100644
index 0000000..ef3d82b
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundResponseRefundDTOResult.php
@@ -0,0 +1,617 @@
+ 'string',
+ 'message' => 'string',
+ 'bizSystemNo' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'status' => 'string',
+ 'refundAmount' => 'string',
+ 'residualAmount' => 'string',
+ 'description' => 'string',
+ 'refundRequestDate' => 'string',
+ 'accountDivided' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'bizSystemNo' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'refundRequestId' => null,
+ 'uniqueRefundNo' => null,
+ 'status' => null,
+ 'refundAmount' => null,
+ 'residualAmount' => null,
+ 'description' => null,
+ 'refundRequestDate' => null,
+ 'accountDivided' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'bizSystemNo' => 'bizSystemNo',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'status' => 'status',
+ 'refundAmount' => 'refundAmount',
+ 'residualAmount' => 'residualAmount',
+ 'description' => 'description',
+ 'refundRequestDate' => 'refundRequestDate',
+ 'accountDivided' => 'accountDivided',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'bizSystemNo' => 'setBizSystemNo',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'status' => 'setStatus',
+ 'refundAmount' => 'setRefundAmount',
+ 'residualAmount' => 'setResidualAmount',
+ 'description' => 'setDescription',
+ 'refundRequestDate' => 'setRefundRequestDate',
+ 'accountDivided' => 'setAccountDivided',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'bizSystemNo' => 'getBizSystemNo',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'status' => 'getStatus',
+ 'refundAmount' => 'getRefundAmount',
+ 'residualAmount' => 'getResidualAmount',
+ 'description' => 'getDescription',
+ 'refundRequestDate' => 'getRefundRequestDate',
+ 'accountDivided' => 'getAccountDivided',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['bizSystemNo'] = isset($data['bizSystemNo']) ? $data['bizSystemNo'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ $this->container['residualAmount'] = isset($data['residualAmount']) ? $data['residualAmount'] : null;
+ $this->container['description'] = isset($data['description']) ? $data['description'] : null;
+ $this->container['refundRequestDate'] = isset($data['refundRequestDate']) ? $data['refundRequestDate'] : null;
+ $this->container['accountDivided'] = isset($data['accountDivided']) ? $data['accountDivided'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets bizSystemNo
+ * @return string
+ */
+ public function getBizSystemNo()
+ {
+ return $this->container['bizSystemNo'];
+ }
+
+ /**
+ * Sets bizSystemNo
+ * @param string $bizSystemNo 业务方标识
+ * @return $this
+ */
+ public function setBizSystemNo($bizSystemNo)
+ {
+ $this->container['bizSystemNo'] = $bizSystemNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 平台商商户号
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 子商户商户号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 易宝统一订单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount 退款金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets residualAmount
+ * @return string
+ */
+ public function getResidualAmount()
+ {
+ return $this->container['residualAmount'];
+ }
+
+ /**
+ * Sets residualAmount
+ * @param string $residualAmount 剩余金额
+ * @return $this
+ */
+ public function setResidualAmount($residualAmount)
+ {
+ $this->container['residualAmount'] = $residualAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets description
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->container['description'];
+ }
+
+ /**
+ * Sets description
+ * @param string $description 退款订单描述
+ * @return $this
+ */
+ public function setDescription($description)
+ {
+ $this->container['description'] = $description;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestDate
+ * @return string
+ */
+ public function getRefundRequestDate()
+ {
+ return $this->container['refundRequestDate'];
+ }
+
+ /**
+ * Sets refundRequestDate
+ * @param string $refundRequestDate 退款请求日期
+ * @return $this
+ */
+ public function setRefundRequestDate($refundRequestDate)
+ {
+ $this->container['refundRequestDate'] = $refundRequestDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountDivided
+ * @return string
+ */
+ public function getAccountDivided()
+ {
+ return $this->container['accountDivided'];
+ }
+
+ /**
+ * Sets accountDivided
+ * @param string $accountDivided 分账规则
+ * @return $this
+ */
+ public function setAccountDivided($accountDivided)
+ {
+ $this->container['accountDivided'] = $accountDivided;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeRefundResponseUnMarshaller.php b/lib/Service/Sys/Model/TradeRefundResponseUnMarshaller.php
new file mode 100644
index 0000000..ce1166f
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+ 'string',
+ 'promotionName' => 'string',
+ 'amountRefund' => 'float',
+ 'activityId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'promotionId' => null,
+ 'promotionName' => null,
+ 'amountRefund' => null,
+ 'activityId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'promotionId' => 'promotionId',
+ 'promotionName' => 'promotionName',
+ 'amountRefund' => 'amountRefund',
+ 'activityId' => 'activityId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'promotionId' => 'setPromotionId',
+ 'promotionName' => 'setPromotionName',
+ 'amountRefund' => 'setAmountRefund',
+ 'activityId' => 'setActivityId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'promotionId' => 'getPromotionId',
+ 'promotionName' => 'getPromotionName',
+ 'amountRefund' => 'getAmountRefund',
+ 'activityId' => 'getActivityId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['promotionId'] = isset($data['promotionId']) ? $data['promotionId'] : null;
+ $this->container['promotionName'] = isset($data['promotionName']) ? $data['promotionName'] : null;
+ $this->container['amountRefund'] = isset($data['amountRefund']) ? $data['amountRefund'] : null;
+ $this->container['activityId'] = isset($data['activityId']) ? $data['activityId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets promotionId
+ * @return string
+ */
+ public function getPromotionId()
+ {
+ return $this->container['promotionId'];
+ }
+
+ /**
+ * Sets promotionId
+ * @param string $promotionId 优惠券活动编码
+ * @return $this
+ */
+ public function setPromotionId($promotionId)
+ {
+ $this->container['promotionId'] = $promotionId;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionName
+ * @return string
+ */
+ public function getPromotionName()
+ {
+ return $this->container['promotionName'];
+ }
+
+ /**
+ * Sets promotionName
+ * @param string $promotionName 优惠券名称
+ * @return $this
+ */
+ public function setPromotionName($promotionName)
+ {
+ $this->container['promotionName'] = $promotionName;
+
+ return $this;
+ }
+
+ /**
+ * Gets amountRefund
+ * @return float
+ */
+ public function getAmountRefund()
+ {
+ return $this->container['amountRefund'];
+ }
+
+ /**
+ * Sets amountRefund
+ * @param float $amountRefund 优惠券退回金额
+ * @return $this
+ */
+ public function setAmountRefund($amountRefund)
+ {
+ $this->container['amountRefund'] = $amountRefund;
+
+ return $this;
+ }
+
+ /**
+ * Gets activityId
+ * @return string
+ */
+ public function getActivityId()
+ {
+ return $this->container['activityId'];
+ }
+
+ /**
+ * Sets activityId
+ * @param string $activityId 优惠券活动id
+ * @return $this
+ */
+ public function setActivityId($activityId)
+ {
+ $this->container['activityId'] = $activityId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeRefundqueryQueryRefundResponseDTOResult.php b/lib/Service/Sys/Model/TradeRefundqueryQueryRefundResponseDTOResult.php
new file mode 100644
index 0000000..03bb007
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundqueryQueryRefundResponseDTOResult.php
@@ -0,0 +1,779 @@
+ 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'refundAmount' => 'float',
+ 'returnMerchantFee' => 'float',
+ 'returnCustomerFee' => 'float',
+ 'status' => 'string',
+ 'description' => 'string',
+ 'refundRequestDate' => 'string',
+ 'refundSuccessDate' => 'string',
+ 'realDeductAmount' => 'float',
+ 'realRefundAmount' => 'float',
+ 'accountDivided' => 'string',
+ 'cashRefundFee' => 'float',
+ 'bankPromotionInfoDTOList' => '\Yeepay\Yop\Sdk\Service\Sys\Model\TradeRefundqueryBankPromotionInfoDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'refundRequestId' => null,
+ 'uniqueOrderNo' => null,
+ 'uniqueRefundNo' => null,
+ 'refundAmount' => null,
+ 'returnMerchantFee' => null,
+ 'returnCustomerFee' => null,
+ 'status' => null,
+ 'description' => null,
+ 'refundRequestDate' => null,
+ 'refundSuccessDate' => null,
+ 'realDeductAmount' => null,
+ 'realRefundAmount' => null,
+ 'accountDivided' => null,
+ 'cashRefundFee' => null,
+ 'bankPromotionInfoDTOList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'refundAmount' => 'refundAmount',
+ 'returnMerchantFee' => 'returnMerchantFee',
+ 'returnCustomerFee' => 'returnCustomerFee',
+ 'status' => 'status',
+ 'description' => 'description',
+ 'refundRequestDate' => 'refundRequestDate',
+ 'refundSuccessDate' => 'refundSuccessDate',
+ 'realDeductAmount' => 'realDeductAmount',
+ 'realRefundAmount' => 'realRefundAmount',
+ 'accountDivided' => 'accountDivided',
+ 'cashRefundFee' => 'cashRefundFee',
+ 'bankPromotionInfoDTOList' => 'bankPromotionInfoDTOList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'refundAmount' => 'setRefundAmount',
+ 'returnMerchantFee' => 'setReturnMerchantFee',
+ 'returnCustomerFee' => 'setReturnCustomerFee',
+ 'status' => 'setStatus',
+ 'description' => 'setDescription',
+ 'refundRequestDate' => 'setRefundRequestDate',
+ 'refundSuccessDate' => 'setRefundSuccessDate',
+ 'realDeductAmount' => 'setRealDeductAmount',
+ 'realRefundAmount' => 'setRealRefundAmount',
+ 'accountDivided' => 'setAccountDivided',
+ 'cashRefundFee' => 'setCashRefundFee',
+ 'bankPromotionInfoDTOList' => 'setBankPromotionInfoDTOList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'refundAmount' => 'getRefundAmount',
+ 'returnMerchantFee' => 'getReturnMerchantFee',
+ 'returnCustomerFee' => 'getReturnCustomerFee',
+ 'status' => 'getStatus',
+ 'description' => 'getDescription',
+ 'refundRequestDate' => 'getRefundRequestDate',
+ 'refundSuccessDate' => 'getRefundSuccessDate',
+ 'realDeductAmount' => 'getRealDeductAmount',
+ 'realRefundAmount' => 'getRealRefundAmount',
+ 'accountDivided' => 'getAccountDivided',
+ 'cashRefundFee' => 'getCashRefundFee',
+ 'bankPromotionInfoDTOList' => 'getBankPromotionInfoDTOList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ $this->container['returnMerchantFee'] = isset($data['returnMerchantFee']) ? $data['returnMerchantFee'] : null;
+ $this->container['returnCustomerFee'] = isset($data['returnCustomerFee']) ? $data['returnCustomerFee'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['description'] = isset($data['description']) ? $data['description'] : null;
+ $this->container['refundRequestDate'] = isset($data['refundRequestDate']) ? $data['refundRequestDate'] : null;
+ $this->container['refundSuccessDate'] = isset($data['refundSuccessDate']) ? $data['refundSuccessDate'] : null;
+ $this->container['realDeductAmount'] = isset($data['realDeductAmount']) ? $data['realDeductAmount'] : null;
+ $this->container['realRefundAmount'] = isset($data['realRefundAmount']) ? $data['realRefundAmount'] : null;
+ $this->container['accountDivided'] = isset($data['accountDivided']) ? $data['accountDivided'] : null;
+ $this->container['cashRefundFee'] = isset($data['cashRefundFee']) ? $data['cashRefundFee'] : null;
+ $this->container['bankPromotionInfoDTOList'] = isset($data['bankPromotionInfoDTOList']) ? $data['bankPromotionInfoDTOList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 父商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 子商编
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户订单号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 易宝退款订单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return float
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param float $refundAmount 退款请求金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMerchantFee
+ * @return float
+ */
+ public function getReturnMerchantFee()
+ {
+ return $this->container['returnMerchantFee'];
+ }
+
+ /**
+ * Sets returnMerchantFee
+ * @param float $returnMerchantFee 返还商户手续费
+ * @return $this
+ */
+ public function setReturnMerchantFee($returnMerchantFee)
+ {
+ $this->container['returnMerchantFee'] = $returnMerchantFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnCustomerFee
+ * @return float
+ */
+ public function getReturnCustomerFee()
+ {
+ return $this->container['returnCustomerFee'];
+ }
+
+ /**
+ * Sets returnCustomerFee
+ * @param float $returnCustomerFee 返回用户手续费
+ * @return $this
+ */
+ public function setReturnCustomerFee($returnCustomerFee)
+ {
+ $this->container['returnCustomerFee'] = $returnCustomerFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets description
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->container['description'];
+ }
+
+ /**
+ * Sets description
+ * @param string $description 退款描述信息
+ * @return $this
+ */
+ public function setDescription($description)
+ {
+ $this->container['description'] = $description;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestDate
+ * @return string
+ */
+ public function getRefundRequestDate()
+ {
+ return $this->container['refundRequestDate'];
+ }
+
+ /**
+ * Sets refundRequestDate
+ * @param string $refundRequestDate 退款请求时间
+ * @return $this
+ */
+ public function setRefundRequestDate($refundRequestDate)
+ {
+ $this->container['refundRequestDate'] = $refundRequestDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundSuccessDate
+ * @return string
+ */
+ public function getRefundSuccessDate()
+ {
+ return $this->container['refundSuccessDate'];
+ }
+
+ /**
+ * Sets refundSuccessDate
+ * @param string $refundSuccessDate 退款成功时间
+ * @return $this
+ */
+ public function setRefundSuccessDate($refundSuccessDate)
+ {
+ $this->container['refundSuccessDate'] = $refundSuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets realDeductAmount
+ * @return float
+ */
+ public function getRealDeductAmount()
+ {
+ return $this->container['realDeductAmount'];
+ }
+
+ /**
+ * Sets realDeductAmount
+ * @param float $realDeductAmount 实扣金额
+ * @return $this
+ */
+ public function setRealDeductAmount($realDeductAmount)
+ {
+ $this->container['realDeductAmount'] = $realDeductAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets realRefundAmount
+ * @return float
+ */
+ public function getRealRefundAmount()
+ {
+ return $this->container['realRefundAmount'];
+ }
+
+ /**
+ * Sets realRefundAmount
+ * @param float $realRefundAmount 实退金额
+ * @return $this
+ */
+ public function setRealRefundAmount($realRefundAmount)
+ {
+ $this->container['realRefundAmount'] = $realRefundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountDivided
+ * @return string
+ */
+ public function getAccountDivided()
+ {
+ return $this->container['accountDivided'];
+ }
+
+ /**
+ * Sets accountDivided
+ * @param string $accountDivided 分账规则
+ * @return $this
+ */
+ public function setAccountDivided($accountDivided)
+ {
+ $this->container['accountDivided'] = $accountDivided;
+
+ return $this;
+ }
+
+ /**
+ * Gets cashRefundFee
+ * @return float
+ */
+ public function getCashRefundFee()
+ {
+ return $this->container['cashRefundFee'];
+ }
+
+ /**
+ * Sets cashRefundFee
+ * @param float $cashRefundFee 现金退款金额
+ * @return $this
+ */
+ public function setCashRefundFee($cashRefundFee)
+ {
+ $this->container['cashRefundFee'] = $cashRefundFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPromotionInfoDTOList
+ * @return \Yeepay\Yop\Sdk\Service\Sys\Model\TradeRefundqueryBankPromotionInfoDTOResult[]
+ */
+ public function getBankPromotionInfoDTOList()
+ {
+ return $this->container['bankPromotionInfoDTOList'];
+ }
+
+ /**
+ * Sets bankPromotionInfoDTOList
+ * @param \Yeepay\Yop\Sdk\Service\Sys\Model\TradeRefundqueryBankPromotionInfoDTOResult[] $bankPromotionInfoDTOList 银行优惠卡券列表
+ * @return $this
+ */
+ public function setBankPromotionInfoDTOList($bankPromotionInfoDTOList)
+ {
+ $this->container['bankPromotionInfoDTOList'] = $bankPromotionInfoDTOList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Sys/Model/TradeRefundqueryRequest.php b/lib/Service/Sys/Model/TradeRefundqueryRequest.php
new file mode 100644
index 0000000..9fa2f99
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundqueryRequest.php
@@ -0,0 +1,171 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return TradeRefundqueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return TradeRefundqueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return TradeRefundqueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return TradeRefundqueryRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->uniqueRefundNo;
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo
+ * @return TradeRefundqueryRequest
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->uniqueRefundNo = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets hmac
+ * @return string
+ */
+ public function getHmac()
+ {
+ return $this->hmac;
+ }
+
+ /**
+ * Sets hmac
+ * @param string $hmac
+ * @return TradeRefundqueryRequest
+ */
+ public function setHmac($hmac)
+ {
+ $this->hmac = $hmac;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'tradeRefundquery';
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeRefundqueryRequestMarshaller.php b/lib/Service/Sys/Model/TradeRefundqueryRequestMarshaller.php
new file mode 100644
index 0000000..5786537
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundqueryRequestMarshaller.php
@@ -0,0 +1,101 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getRefundRequestId() != null) {
+ $internalRequest->addParameter('refundRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundRequestId(), 'string'));
+ }
+ if ($request->getUniqueRefundNo() != null) {
+ $internalRequest->addParameter('uniqueRefundNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueRefundNo(), 'string'));
+ }
+ if ($request->getHmac() != null) {
+ $internalRequest->addParameter('hmac',
+ ObjectSerializer::sanitizeForSerialization($request->getHmac(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+TradeRefundqueryRequestMarshaller::__init();
diff --git a/lib/Service/Sys/Model/TradeRefundqueryResponse.php b/lib/Service/Sys/Model/TradeRefundqueryResponse.php
new file mode 100644
index 0000000..1cd708d
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundqueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return TradeRefundqueryQueryRefundResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Sys/Model/TradeRefundqueryResponseUnMarshaller.php b/lib/Service/Sys/Model/TradeRefundqueryResponseUnMarshaller.php
new file mode 100644
index 0000000..5105176
--- /dev/null
+++ b/lib/Service/Sys/Model/TradeRefundqueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\MerchantQualUploadRequest $request
+ * @return Model\MerchantQualUploadResponse
+ * @throws YopClientException
+ */
+ public function merchantQualUpload(Model\MerchantQualUploadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\MerchantQualUploadRequestMarshaller::getInstance(),
+ Model\MerchantQualUploadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TradeDividebackRequest $request
+ * @return Model\TradeDividebackResponse
+ * @throws YopClientException
+ */
+ public function tradeDivideback(Model\TradeDividebackRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\TradeDividebackRequestMarshaller::getInstance(),
+ Model\TradeDividebackResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TradeOrderRequest $request
+ * @return Model\TradeOrderResponse
+ * @throws YopClientException
+ */
+ public function tradeOrder(Model\TradeOrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\TradeOrderRequestMarshaller::getInstance(),
+ Model\TradeOrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TradeOrderqueryRequest $request
+ * @return Model\TradeOrderqueryResponse
+ * @throws YopClientException
+ */
+ public function tradeOrderquery(Model\TradeOrderqueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\TradeOrderqueryRequestMarshaller::getInstance(),
+ Model\TradeOrderqueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TradeRefundRequest $request
+ * @return Model\TradeRefundResponse
+ * @throws YopClientException
+ */
+ public function tradeRefund(Model\TradeRefundRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\TradeRefundRequestMarshaller::getInstance(),
+ Model\TradeRefundResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\TradeRefundqueryRequest $request
+ * @return Model\TradeRefundqueryResponse
+ * @throws YopClientException
+ */
+ public function tradeRefundquery(Model\TradeRefundqueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\TradeRefundqueryRequestMarshaller::getInstance(),
+ Model\TradeRefundqueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Sys/SysClientBuilder.php b/lib/Service/Sys/SysClientBuilder.php
new file mode 100644
index 0000000..f158442
--- /dev/null
+++ b/lib/Service/Sys/SysClientBuilder.php
@@ -0,0 +1,80 @@
+register('merchantQualUpload',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('tradeDivideback',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('tradeOrder',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('tradeOrderquery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('tradeRefund',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('tradeRefundquery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * SysClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new SysClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return SysClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new SysClientBuilder($clientParams);
+ }
+
+}
+
+SysClientBuilder::__init();
diff --git a/lib/Service/Trade/Model/OrderCloseRequest.php b/lib/Service/Trade/Model/OrderCloseRequest.php
new file mode 100644
index 0000000..fb3969a
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCloseRequest.php
@@ -0,0 +1,119 @@
+orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return OrderCloseRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return OrderCloseRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return OrderCloseRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return OrderCloseRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'orderClose';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderCloseRequestMarshaller.php b/lib/Service/Trade/Model/OrderCloseRequestMarshaller.php
new file mode 100644
index 0000000..cabfa2c
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCloseRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+OrderCloseRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/OrderCloseResponse.php b/lib/Service/Trade/Model/OrderCloseResponse.php
new file mode 100644
index 0000000..dfc779f
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCloseResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return OrderCloseResponseOrderCloseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderCloseResponseOrderCloseDTOResult.php b/lib/Service/Trade/Model/OrderCloseResponseOrderCloseDTOResult.php
new file mode 100644
index 0000000..80bbe56
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCloseResponseOrderCloseDTOResult.php
@@ -0,0 +1,374 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderCloseResponseOrderCloseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderCloseResponseOrderCloseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderCloseResponseOrderCloseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息描述
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderCloseResponseUnMarshaller.php b/lib/Service/Trade/Model/OrderCloseResponseUnMarshaller.php
new file mode 100644
index 0000000..7ca4192
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCloseResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderCombineQueryPayerInfoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @description
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderCombineQueryPayerInfoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderCombineQueryPayerInfoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'bankId' => 'string',
+ 'accountName' => 'string',
+ 'bankCardNo' => 'string',
+ 'mobilePhoneNo' => 'string',
+ 'cardType' => 'string',
+ 'userID' => 'string',
+ 'unionID' => 'string',
+ 'buyerLogonId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'bankId' => null,
+ 'accountName' => null,
+ 'bankCardNo' => null,
+ 'mobilePhoneNo' => null,
+ 'cardType' => null,
+ 'userID' => null,
+ 'unionID' => null,
+ 'buyerLogonId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'bankId' => 'bankId',
+ 'accountName' => 'accountName',
+ 'bankCardNo' => 'bankCardNo',
+ 'mobilePhoneNo' => 'mobilePhoneNo',
+ 'cardType' => 'cardType',
+ 'userID' => 'userID',
+ 'unionID' => 'unionID',
+ 'buyerLogonId' => 'buyerLogonId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'bankId' => 'setBankId',
+ 'accountName' => 'setAccountName',
+ 'bankCardNo' => 'setBankCardNo',
+ 'mobilePhoneNo' => 'setMobilePhoneNo',
+ 'cardType' => 'setCardType',
+ 'userID' => 'setUserID',
+ 'unionID' => 'setUnionID',
+ 'buyerLogonId' => 'setBuyerLogonId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'bankId' => 'getBankId',
+ 'accountName' => 'getAccountName',
+ 'bankCardNo' => 'getBankCardNo',
+ 'mobilePhoneNo' => 'getMobilePhoneNo',
+ 'cardType' => 'getCardType',
+ 'userID' => 'getUserID',
+ 'unionID' => 'getUnionID',
+ 'buyerLogonId' => 'getBuyerLogonId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['bankId'] = isset($data['bankId']) ? $data['bankId'] : null;
+ $this->container['accountName'] = isset($data['accountName']) ? $data['accountName'] : null;
+ $this->container['bankCardNo'] = isset($data['bankCardNo']) ? $data['bankCardNo'] : null;
+ $this->container['mobilePhoneNo'] = isset($data['mobilePhoneNo']) ? $data['mobilePhoneNo'] : null;
+ $this->container['cardType'] = isset($data['cardType']) ? $data['cardType'] : null;
+ $this->container['userID'] = isset($data['userID']) ? $data['userID'] : null;
+ $this->container['unionID'] = isset($data['unionID']) ? $data['unionID'] : null;
+ $this->container['buyerLogonId'] = isset($data['buyerLogonId']) ? $data['buyerLogonId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets bankId
+ * @return string
+ */
+ public function getBankId()
+ {
+ return $this->container['bankId'];
+ }
+
+ /**
+ * Sets bankId
+ * @param string $bankId 银行编号
+ * @return $this
+ */
+ public function setBankId($bankId)
+ {
+ $this->container['bankId'] = $bankId;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountName
+ * @return string
+ */
+ public function getAccountName()
+ {
+ return $this->container['accountName'];
+ }
+
+ /**
+ * Sets accountName
+ * @param string $accountName 账户名称
+ * @return $this
+ */
+ public function setAccountName($accountName)
+ {
+ $this->container['accountName'] = $accountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->container['bankCardNo'];
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo 银行卡号
+ * @return $this
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->container['bankCardNo'] = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets mobilePhoneNo
+ * @return string
+ */
+ public function getMobilePhoneNo()
+ {
+ return $this->container['mobilePhoneNo'];
+ }
+
+ /**
+ * Sets mobilePhoneNo
+ * @param string $mobilePhoneNo 手机号
+ * @return $this
+ */
+ public function setMobilePhoneNo($mobilePhoneNo)
+ {
+ $this->container['mobilePhoneNo'] = $mobilePhoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardType
+ * @return string
+ */
+ public function getCardType()
+ {
+ return $this->container['cardType'];
+ }
+
+ /**
+ * Sets cardType
+ * @param string $cardType 卡类型
+ * @return $this
+ */
+ public function setCardType($cardType)
+ {
+ $this->container['cardType'] = $cardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets userID
+ * @return string
+ */
+ public function getUserID()
+ {
+ return $this->container['userID'];
+ }
+
+ /**
+ * Sets userID
+ * @param string $userID 用户id
+ * @return $this
+ */
+ public function setUserID($userID)
+ {
+ $this->container['userID'] = $userID;
+
+ return $this;
+ }
+
+ /**
+ * Gets unionID
+ * @return string
+ */
+ public function getUnionID()
+ {
+ return $this->container['unionID'];
+ }
+
+ /**
+ * Sets unionID
+ * @param string $unionID unionID
+ * @return $this
+ */
+ public function setUnionID($unionID)
+ {
+ $this->container['unionID'] = $unionID;
+
+ return $this;
+ }
+
+ /**
+ * Gets buyerLogonId
+ * @return string
+ */
+ public function getBuyerLogonId()
+ {
+ return $this->container['buyerLogonId'];
+ }
+
+ /**
+ * Sets buyerLogonId
+ * @param string $buyerLogonId 支付宝买家登录账号
+ * @return $this
+ */
+ public function setBuyerLogonId($buyerLogonId)
+ {
+ $this->container['buyerLogonId'] = $buyerLogonId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderCombineQueryRequest.php b/lib/Service/Trade/Model/OrderCombineQueryRequest.php
new file mode 100644
index 0000000..9f78e55
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCombineQueryRequest.php
@@ -0,0 +1,67 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return OrderCombineQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return OrderCombineQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'orderCombineQuery';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderCombineQueryRequestMarshaller.php b/lib/Service/Trade/Model/OrderCombineQueryRequestMarshaller.php
new file mode 100644
index 0000000..e501b57
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCombineQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+OrderCombineQueryRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/OrderCombineQueryResponse.php b/lib/Service/Trade/Model/OrderCombineQueryResponse.php
new file mode 100644
index 0000000..8ccbb34
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCombineQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return OrderCombineQueryYopQueryCombineOrderResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderCombineQueryResponseUnMarshaller.php b/lib/Service/Trade/Model/OrderCombineQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..2c337b3
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCombineQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderCombineQuerySubOrderInfoDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderCombineQuerySubOrderInfoDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderCombineQuerySubOrderInfoDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'bankOrderId' => 'string',
+ 'channelOrderId' => 'string',
+ 'orderAmount' => 'float',
+ 'payAmount' => 'float',
+ 'goodsName' => 'string',
+ 'merchantFee' => 'float',
+ 'customerFee' => 'float',
+ 'memo' => 'string',
+ 'status' => 'string',
+ 'payWay' => 'string',
+ 'paySuccessDate' => 'string',
+ 'fundProcessType' => 'string',
+ 'channel' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'bankOrderId' => null,
+ 'channelOrderId' => null,
+ 'orderAmount' => null,
+ 'payAmount' => null,
+ 'goodsName' => null,
+ 'merchantFee' => null,
+ 'customerFee' => null,
+ 'memo' => null,
+ 'status' => null,
+ 'payWay' => null,
+ 'paySuccessDate' => null,
+ 'fundProcessType' => null,
+ 'channel' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'bankOrderId' => 'bankOrderId',
+ 'channelOrderId' => 'channelOrderId',
+ 'orderAmount' => 'orderAmount',
+ 'payAmount' => 'payAmount',
+ 'goodsName' => 'goodsName',
+ 'merchantFee' => 'merchantFee',
+ 'customerFee' => 'customerFee',
+ 'memo' => 'memo',
+ 'status' => 'status',
+ 'payWay' => 'payWay',
+ 'paySuccessDate' => 'paySuccessDate',
+ 'fundProcessType' => 'fundProcessType',
+ 'channel' => 'channel',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'bankOrderId' => 'setBankOrderId',
+ 'channelOrderId' => 'setChannelOrderId',
+ 'orderAmount' => 'setOrderAmount',
+ 'payAmount' => 'setPayAmount',
+ 'goodsName' => 'setGoodsName',
+ 'merchantFee' => 'setMerchantFee',
+ 'customerFee' => 'setCustomerFee',
+ 'memo' => 'setMemo',
+ 'status' => 'setStatus',
+ 'payWay' => 'setPayWay',
+ 'paySuccessDate' => 'setPaySuccessDate',
+ 'fundProcessType' => 'setFundProcessType',
+ 'channel' => 'setChannel',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'bankOrderId' => 'getBankOrderId',
+ 'channelOrderId' => 'getChannelOrderId',
+ 'orderAmount' => 'getOrderAmount',
+ 'payAmount' => 'getPayAmount',
+ 'goodsName' => 'getGoodsName',
+ 'merchantFee' => 'getMerchantFee',
+ 'customerFee' => 'getCustomerFee',
+ 'memo' => 'getMemo',
+ 'status' => 'getStatus',
+ 'payWay' => 'getPayWay',
+ 'paySuccessDate' => 'getPaySuccessDate',
+ 'fundProcessType' => 'getFundProcessType',
+ 'channel' => 'getChannel',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['bankOrderId'] = isset($data['bankOrderId']) ? $data['bankOrderId'] : null;
+ $this->container['channelOrderId'] = isset($data['channelOrderId']) ? $data['channelOrderId'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['payAmount'] = isset($data['payAmount']) ? $data['payAmount'] : null;
+ $this->container['goodsName'] = isset($data['goodsName']) ? $data['goodsName'] : null;
+ $this->container['merchantFee'] = isset($data['merchantFee']) ? $data['merchantFee'] : null;
+ $this->container['customerFee'] = isset($data['customerFee']) ? $data['customerFee'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['payWay'] = isset($data['payWay']) ? $data['payWay'] : null;
+ $this->container['paySuccessDate'] = isset($data['paySuccessDate']) ? $data['paySuccessDate'] : null;
+ $this->container['fundProcessType'] = isset($data['fundProcessType']) ? $data['fundProcessType'] : null;
+ $this->container['channel'] = isset($data['channel']) ? $data['channel'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankOrderId
+ * @return string
+ */
+ public function getBankOrderId()
+ {
+ return $this->container['bankOrderId'];
+ }
+
+ /**
+ * Sets bankOrderId
+ * @param string $bankOrderId 银行订单号
+ * @return $this
+ */
+ public function setBankOrderId($bankOrderId)
+ {
+ $this->container['bankOrderId'] = $bankOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelOrderId
+ * @return string
+ */
+ public function getChannelOrderId()
+ {
+ return $this->container['channelOrderId'];
+ }
+
+ /**
+ * Sets channelOrderId
+ * @param string $channelOrderId 渠道订单号
+ * @return $this
+ */
+ public function setChannelOrderId($channelOrderId)
+ {
+ $this->container['channelOrderId'] = $channelOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 订单金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets payAmount
+ * @return float
+ */
+ public function getPayAmount()
+ {
+ return $this->container['payAmount'];
+ }
+
+ /**
+ * Sets payAmount
+ * @param float $payAmount 支付金额
+ * @return $this
+ */
+ public function setPayAmount($payAmount)
+ {
+ $this->container['payAmount'] = $payAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->container['goodsName'];
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName 商品描述
+ * @return $this
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->container['goodsName'] = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFee
+ * @return float
+ */
+ public function getMerchantFee()
+ {
+ return $this->container['merchantFee'];
+ }
+
+ /**
+ * Sets merchantFee
+ * @param float $merchantFee 商户手续费
+ * @return $this
+ */
+ public function setMerchantFee($merchantFee)
+ {
+ $this->container['merchantFee'] = $merchantFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets customerFee
+ * @return float
+ */
+ public function getCustomerFee()
+ {
+ return $this->container['customerFee'];
+ }
+
+ /**
+ * Sets customerFee
+ * @param float $customerFee 用户手续费
+ * @return $this
+ */
+ public function setCustomerFee($customerFee)
+ {
+ $this->container['customerFee'] = $customerFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 对账备注
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets payWay
+ * @return string
+ */
+ public function getPayWay()
+ {
+ return $this->container['payWay'];
+ }
+
+ /**
+ * Sets payWay
+ * @param string $payWay 支付方式
+ * @return $this
+ */
+ public function setPayWay($payWay)
+ {
+ $this->container['payWay'] = $payWay;
+
+ return $this;
+ }
+
+ /**
+ * Gets paySuccessDate
+ * @return string
+ */
+ public function getPaySuccessDate()
+ {
+ return $this->container['paySuccessDate'];
+ }
+
+ /**
+ * Sets paySuccessDate
+ * @param string $paySuccessDate 支付成功时间
+ * @return $this
+ */
+ public function setPaySuccessDate($paySuccessDate)
+ {
+ $this->container['paySuccessDate'] = $paySuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->container['fundProcessType'];
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType 分账标识
+ * @return $this
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->container['fundProcessType'] = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets channel
+ * @return string
+ */
+ public function getChannel()
+ {
+ return $this->container['channel'];
+ }
+
+ /**
+ * Sets channel
+ * @param string $channel 渠道类型
+ * @return $this
+ */
+ public function setChannel($channel)
+ {
+ $this->container['channel'] = $channel;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderCombineQueryYopQueryCombineOrderResDTOResult.php b/lib/Service/Trade/Model/OrderCombineQueryYopQueryCombineOrderResDTOResult.php
new file mode 100644
index 0000000..22fd156
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderCombineQueryYopQueryCombineOrderResDTOResult.php
@@ -0,0 +1,428 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderCombineQueryYopQueryCombineOrderResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderCombineQueryYopQueryCombineOrderResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderCombineQueryYopQueryCombineOrderResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'orderId' => 'string',
+ 'token' => 'string',
+ 'subOrderInfoList' => '\Yeepay\Yop\Sdk\Service\Trade\Model\OrderCombineQuerySubOrderInfoDTOResult[]',
+ 'payerInfo' => '\Yeepay\Yop\Sdk\Service\Trade\Model\OrderCombineQueryPayerInfoResult',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'orderId' => null,
+ 'token' => null,
+ 'subOrderInfoList' => null,
+ 'payerInfo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'orderId' => 'orderId',
+ 'token' => 'token',
+ 'subOrderInfoList' => 'subOrderInfoList',
+ 'payerInfo' => 'payerInfo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'token' => 'setToken',
+ 'subOrderInfoList' => 'setSubOrderInfoList',
+ 'payerInfo' => 'setPayerInfo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'token' => 'getToken',
+ 'subOrderInfoList' => 'getSubOrderInfoList',
+ 'payerInfo' => 'getPayerInfo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['subOrderInfoList'] = isset($data['subOrderInfoList']) ? $data['subOrderInfoList'] : null;
+ $this->container['payerInfo'] = isset($data['payerInfo']) ? $data['payerInfo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token 支付token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets subOrderInfoList
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\OrderCombineQuerySubOrderInfoDTOResult[]
+ */
+ public function getSubOrderInfoList()
+ {
+ return $this->container['subOrderInfoList'];
+ }
+
+ /**
+ * Sets subOrderInfoList
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\OrderCombineQuerySubOrderInfoDTOResult[] $subOrderInfoList 子单信息
+ * @return $this
+ */
+ public function setSubOrderInfoList($subOrderInfoList)
+ {
+ $this->container['subOrderInfoList'] = $subOrderInfoList;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerInfo
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\OrderCombineQueryPayerInfoResult
+ */
+ public function getPayerInfo()
+ {
+ return $this->container['payerInfo'];
+ }
+
+ /**
+ * Sets payerInfo
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\OrderCombineQueryPayerInfoResult $payerInfo 付款方信息
+ * @return $this
+ */
+ public function setPayerInfo($payerInfo)
+ {
+ $this->container['payerInfo'] = $payerInfo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderQueryChannelPromotionInfoDTOResult.php b/lib/Service/Trade/Model/OrderQueryChannelPromotionInfoDTOResult.php
new file mode 100644
index 0000000..3a01f58
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryChannelPromotionInfoDTOResult.php
@@ -0,0 +1,482 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderQueryChannelPromotionInfoDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderQueryChannelPromotionInfoDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderQueryChannelPromotionInfoDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'promotionId' => 'string',
+ 'promotionName' => 'string',
+ 'promotionScope' => 'string',
+ 'amount' => 'float',
+ 'activityId' => 'string',
+ 'channelContribute' => 'string',
+ 'merchantContribute' => 'string',
+ 'otherContribute' => 'string',
+ 'memo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'promotionId' => null,
+ 'promotionName' => null,
+ 'promotionScope' => null,
+ 'amount' => null,
+ 'activityId' => null,
+ 'channelContribute' => null,
+ 'merchantContribute' => null,
+ 'otherContribute' => null,
+ 'memo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'promotionId' => 'promotionId',
+ 'promotionName' => 'promotionName',
+ 'promotionScope' => 'promotionScope',
+ 'amount' => 'amount',
+ 'activityId' => 'activityId',
+ 'channelContribute' => 'channelContribute',
+ 'merchantContribute' => 'merchantContribute',
+ 'otherContribute' => 'otherContribute',
+ 'memo' => 'memo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'promotionId' => 'setPromotionId',
+ 'promotionName' => 'setPromotionName',
+ 'promotionScope' => 'setPromotionScope',
+ 'amount' => 'setAmount',
+ 'activityId' => 'setActivityId',
+ 'channelContribute' => 'setChannelContribute',
+ 'merchantContribute' => 'setMerchantContribute',
+ 'otherContribute' => 'setOtherContribute',
+ 'memo' => 'setMemo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'promotionId' => 'getPromotionId',
+ 'promotionName' => 'getPromotionName',
+ 'promotionScope' => 'getPromotionScope',
+ 'amount' => 'getAmount',
+ 'activityId' => 'getActivityId',
+ 'channelContribute' => 'getChannelContribute',
+ 'merchantContribute' => 'getMerchantContribute',
+ 'otherContribute' => 'getOtherContribute',
+ 'memo' => 'getMemo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['promotionId'] = isset($data['promotionId']) ? $data['promotionId'] : null;
+ $this->container['promotionName'] = isset($data['promotionName']) ? $data['promotionName'] : null;
+ $this->container['promotionScope'] = isset($data['promotionScope']) ? $data['promotionScope'] : null;
+ $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
+ $this->container['activityId'] = isset($data['activityId']) ? $data['activityId'] : null;
+ $this->container['channelContribute'] = isset($data['channelContribute']) ? $data['channelContribute'] : null;
+ $this->container['merchantContribute'] = isset($data['merchantContribute']) ? $data['merchantContribute'] : null;
+ $this->container['otherContribute'] = isset($data['otherContribute']) ? $data['otherContribute'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets promotionId
+ * @return string
+ */
+ public function getPromotionId()
+ {
+ return $this->container['promotionId'];
+ }
+
+ /**
+ * Sets promotionId
+ * @param string $promotionId 优惠券编码
+ * @return $this
+ */
+ public function setPromotionId($promotionId)
+ {
+ $this->container['promotionId'] = $promotionId;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionName
+ * @return string
+ */
+ public function getPromotionName()
+ {
+ return $this->container['promotionName'];
+ }
+
+ /**
+ * Sets promotionName
+ * @param string $promotionName 优惠券名称
+ * @return $this
+ */
+ public function setPromotionName($promotionName)
+ {
+ $this->container['promotionName'] = $promotionName;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionScope
+ * @return string
+ */
+ public function getPromotionScope()
+ {
+ return $this->container['promotionScope'];
+ }
+
+ /**
+ * Sets promotionScope
+ * @param string $promotionScope 优惠券范围
+ * @return $this
+ */
+ public function setPromotionScope($promotionScope)
+ {
+ $this->container['promotionScope'] = $promotionScope;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return float
+ */
+ public function getAmount()
+ {
+ return $this->container['amount'];
+ }
+
+ /**
+ * Sets amount
+ * @param float $amount 优惠券金额
+ * @return $this
+ */
+ public function setAmount($amount)
+ {
+ $this->container['amount'] = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets activityId
+ * @return string
+ */
+ public function getActivityId()
+ {
+ return $this->container['activityId'];
+ }
+
+ /**
+ * Sets activityId
+ * @param string $activityId 优惠券活动id
+ * @return $this
+ */
+ public function setActivityId($activityId)
+ {
+ $this->container['activityId'] = $activityId;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelContribute
+ * @return string
+ */
+ public function getChannelContribute()
+ {
+ return $this->container['channelContribute'];
+ }
+
+ /**
+ * Sets channelContribute
+ * @param string $channelContribute 渠道出资
+ * @return $this
+ */
+ public function setChannelContribute($channelContribute)
+ {
+ $this->container['channelContribute'] = $channelContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantContribute
+ * @return string
+ */
+ public function getMerchantContribute()
+ {
+ return $this->container['merchantContribute'];
+ }
+
+ /**
+ * Sets merchantContribute
+ * @param string $merchantContribute 商户出资
+ * @return $this
+ */
+ public function setMerchantContribute($merchantContribute)
+ {
+ $this->container['merchantContribute'] = $merchantContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets otherContribute
+ * @return string
+ */
+ public function getOtherContribute()
+ {
+ return $this->container['otherContribute'];
+ }
+
+ /**
+ * Sets otherContribute
+ * @param string $otherContribute 其他出资
+ * @return $this
+ */
+ public function setOtherContribute($otherContribute)
+ {
+ $this->container['otherContribute'] = $otherContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 备注信息
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderQueryPayerInfoResult.php b/lib/Service/Trade/Model/OrderQueryPayerInfoResult.php
new file mode 100644
index 0000000..de1a783
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryPayerInfoResult.php
@@ -0,0 +1,456 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderQueryPayerInfoResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @description <span style=\"caret-color: #333333; color: #333333; font-family: Arial, sans-serif;\">付款信息</span>
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderQueryPayerInfoResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderQueryPayerInfoResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'bankId' => 'string',
+ 'accountName' => 'string',
+ 'bankCardNo' => 'string',
+ 'mobilePhoneNo' => 'string',
+ 'cardType' => 'string',
+ 'userID' => 'string',
+ 'unionID' => 'string',
+ 'buyerLogonId' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'bankId' => null,
+ 'accountName' => null,
+ 'bankCardNo' => null,
+ 'mobilePhoneNo' => null,
+ 'cardType' => null,
+ 'userID' => null,
+ 'unionID' => null,
+ 'buyerLogonId' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'bankId' => 'bankId',
+ 'accountName' => 'accountName',
+ 'bankCardNo' => 'bankCardNo',
+ 'mobilePhoneNo' => 'mobilePhoneNo',
+ 'cardType' => 'cardType',
+ 'userID' => 'userID',
+ 'unionID' => 'unionID',
+ 'buyerLogonId' => 'buyerLogonId',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'bankId' => 'setBankId',
+ 'accountName' => 'setAccountName',
+ 'bankCardNo' => 'setBankCardNo',
+ 'mobilePhoneNo' => 'setMobilePhoneNo',
+ 'cardType' => 'setCardType',
+ 'userID' => 'setUserID',
+ 'unionID' => 'setUnionID',
+ 'buyerLogonId' => 'setBuyerLogonId',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'bankId' => 'getBankId',
+ 'accountName' => 'getAccountName',
+ 'bankCardNo' => 'getBankCardNo',
+ 'mobilePhoneNo' => 'getMobilePhoneNo',
+ 'cardType' => 'getCardType',
+ 'userID' => 'getUserID',
+ 'unionID' => 'getUnionID',
+ 'buyerLogonId' => 'getBuyerLogonId',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['bankId'] = isset($data['bankId']) ? $data['bankId'] : null;
+ $this->container['accountName'] = isset($data['accountName']) ? $data['accountName'] : null;
+ $this->container['bankCardNo'] = isset($data['bankCardNo']) ? $data['bankCardNo'] : null;
+ $this->container['mobilePhoneNo'] = isset($data['mobilePhoneNo']) ? $data['mobilePhoneNo'] : null;
+ $this->container['cardType'] = isset($data['cardType']) ? $data['cardType'] : null;
+ $this->container['userID'] = isset($data['userID']) ? $data['userID'] : null;
+ $this->container['unionID'] = isset($data['unionID']) ? $data['unionID'] : null;
+ $this->container['buyerLogonId'] = isset($data['buyerLogonId']) ? $data['buyerLogonId'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets bankId
+ * @return string
+ */
+ public function getBankId()
+ {
+ return $this->container['bankId'];
+ }
+
+ /**
+ * Sets bankId
+ * @param string $bankId 银行编号
+ * @return $this
+ */
+ public function setBankId($bankId)
+ {
+ $this->container['bankId'] = $bankId;
+
+ return $this;
+ }
+
+ /**
+ * Gets accountName
+ * @return string
+ */
+ public function getAccountName()
+ {
+ return $this->container['accountName'];
+ }
+
+ /**
+ * Sets accountName
+ * @param string $accountName 账户名称
+ * @return $this
+ */
+ public function setAccountName($accountName)
+ {
+ $this->container['accountName'] = $accountName;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankCardNo
+ * @return string
+ */
+ public function getBankCardNo()
+ {
+ return $this->container['bankCardNo'];
+ }
+
+ /**
+ * Sets bankCardNo
+ * @param string $bankCardNo 银行卡号
+ * @return $this
+ */
+ public function setBankCardNo($bankCardNo)
+ {
+ $this->container['bankCardNo'] = $bankCardNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets mobilePhoneNo
+ * @return string
+ */
+ public function getMobilePhoneNo()
+ {
+ return $this->container['mobilePhoneNo'];
+ }
+
+ /**
+ * Sets mobilePhoneNo
+ * @param string $mobilePhoneNo 手机号
+ * @return $this
+ */
+ public function setMobilePhoneNo($mobilePhoneNo)
+ {
+ $this->container['mobilePhoneNo'] = $mobilePhoneNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardType
+ * @return string
+ */
+ public function getCardType()
+ {
+ return $this->container['cardType'];
+ }
+
+ /**
+ * Sets cardType
+ * @param string $cardType 卡类型
+ * @return $this
+ */
+ public function setCardType($cardType)
+ {
+ $this->container['cardType'] = $cardType;
+
+ return $this;
+ }
+
+ /**
+ * Gets userID
+ * @return string
+ */
+ public function getUserID()
+ {
+ return $this->container['userID'];
+ }
+
+ /**
+ * Sets userID
+ * @param string $userID 用户ID
+ * @return $this
+ */
+ public function setUserID($userID)
+ {
+ $this->container['userID'] = $userID;
+
+ return $this;
+ }
+
+ /**
+ * Gets unionID
+ * @return string
+ */
+ public function getUnionID()
+ {
+ return $this->container['unionID'];
+ }
+
+ /**
+ * Sets unionID
+ * @param string $unionID unionID
+ * @return $this
+ */
+ public function setUnionID($unionID)
+ {
+ $this->container['unionID'] = $unionID;
+
+ return $this;
+ }
+
+ /**
+ * Gets buyerLogonId
+ * @return string
+ */
+ public function getBuyerLogonId()
+ {
+ return $this->container['buyerLogonId'];
+ }
+
+ /**
+ * Sets buyerLogonId
+ * @param string $buyerLogonId 支付宝买家登录账号
+ * @return $this
+ */
+ public function setBuyerLogonId($buyerLogonId)
+ {
+ $this->container['buyerLogonId'] = $buyerLogonId;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderQueryRequest.php b/lib/Service/Trade/Model/OrderQueryRequest.php
new file mode 100644
index 0000000..f9da7cc
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return OrderQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return OrderQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return OrderQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'orderQuery';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderQueryRequestMarshaller.php b/lib/Service/Trade/Model/OrderQueryRequestMarshaller.php
new file mode 100644
index 0000000..9f4c7ee
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+OrderQueryRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/OrderQueryResponse.php b/lib/Service/Trade/Model/OrderQueryResponse.php
new file mode 100644
index 0000000..e80d973
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return OrderQueryYopQueryOrderResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderQueryResponseUnMarshaller.php b/lib/Service/Trade/Model/OrderQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..e573015
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderQueryYopQueryOrderResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderQueryYopQueryOrderResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderQueryYopQueryOrderResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'status' => 'string',
+ 'orderAmount' => 'float',
+ 'payAmount' => 'float',
+ 'merchantFee' => 'float',
+ 'customerFee' => 'float',
+ 'paySuccessDate' => 'string',
+ 'memo' => 'string',
+ 'payWay' => 'string',
+ 'token' => 'string',
+ 'fundProcessType' => 'string',
+ 'bankOrderId' => 'string',
+ 'channelOrderId' => 'string',
+ 'channel' => 'string',
+ 'realPayAmount' => 'float',
+ 'payerInfo' => '\Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryPayerInfoResult',
+ 'channelPromotionInfo' => '\Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryChannelPromotionInfoDTOResult[]',
+ 'ypPromotionInfo' => '\Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryYpPromotionInfoDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'status' => null,
+ 'orderAmount' => null,
+ 'payAmount' => null,
+ 'merchantFee' => null,
+ 'customerFee' => null,
+ 'paySuccessDate' => null,
+ 'memo' => null,
+ 'payWay' => null,
+ 'token' => null,
+ 'fundProcessType' => null,
+ 'bankOrderId' => null,
+ 'channelOrderId' => null,
+ 'channel' => null,
+ 'realPayAmount' => null,
+ 'payerInfo' => null,
+ 'channelPromotionInfo' => null,
+ 'ypPromotionInfo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'status' => 'status',
+ 'orderAmount' => 'orderAmount',
+ 'payAmount' => 'payAmount',
+ 'merchantFee' => 'merchantFee',
+ 'customerFee' => 'customerFee',
+ 'paySuccessDate' => 'paySuccessDate',
+ 'memo' => 'memo',
+ 'payWay' => 'payWay',
+ 'token' => 'token',
+ 'fundProcessType' => 'fundProcessType',
+ 'bankOrderId' => 'bankOrderId',
+ 'channelOrderId' => 'channelOrderId',
+ 'channel' => 'channel',
+ 'realPayAmount' => 'realPayAmount',
+ 'payerInfo' => 'payerInfo',
+ 'channelPromotionInfo' => 'channelPromotionInfo',
+ 'ypPromotionInfo' => 'ypPromotionInfo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'status' => 'setStatus',
+ 'orderAmount' => 'setOrderAmount',
+ 'payAmount' => 'setPayAmount',
+ 'merchantFee' => 'setMerchantFee',
+ 'customerFee' => 'setCustomerFee',
+ 'paySuccessDate' => 'setPaySuccessDate',
+ 'memo' => 'setMemo',
+ 'payWay' => 'setPayWay',
+ 'token' => 'setToken',
+ 'fundProcessType' => 'setFundProcessType',
+ 'bankOrderId' => 'setBankOrderId',
+ 'channelOrderId' => 'setChannelOrderId',
+ 'channel' => 'setChannel',
+ 'realPayAmount' => 'setRealPayAmount',
+ 'payerInfo' => 'setPayerInfo',
+ 'channelPromotionInfo' => 'setChannelPromotionInfo',
+ 'ypPromotionInfo' => 'setYpPromotionInfo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'status' => 'getStatus',
+ 'orderAmount' => 'getOrderAmount',
+ 'payAmount' => 'getPayAmount',
+ 'merchantFee' => 'getMerchantFee',
+ 'customerFee' => 'getCustomerFee',
+ 'paySuccessDate' => 'getPaySuccessDate',
+ 'memo' => 'getMemo',
+ 'payWay' => 'getPayWay',
+ 'token' => 'getToken',
+ 'fundProcessType' => 'getFundProcessType',
+ 'bankOrderId' => 'getBankOrderId',
+ 'channelOrderId' => 'getChannelOrderId',
+ 'channel' => 'getChannel',
+ 'realPayAmount' => 'getRealPayAmount',
+ 'payerInfo' => 'getPayerInfo',
+ 'channelPromotionInfo' => 'getChannelPromotionInfo',
+ 'ypPromotionInfo' => 'getYpPromotionInfo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['payAmount'] = isset($data['payAmount']) ? $data['payAmount'] : null;
+ $this->container['merchantFee'] = isset($data['merchantFee']) ? $data['merchantFee'] : null;
+ $this->container['customerFee'] = isset($data['customerFee']) ? $data['customerFee'] : null;
+ $this->container['paySuccessDate'] = isset($data['paySuccessDate']) ? $data['paySuccessDate'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ $this->container['payWay'] = isset($data['payWay']) ? $data['payWay'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['fundProcessType'] = isset($data['fundProcessType']) ? $data['fundProcessType'] : null;
+ $this->container['bankOrderId'] = isset($data['bankOrderId']) ? $data['bankOrderId'] : null;
+ $this->container['channelOrderId'] = isset($data['channelOrderId']) ? $data['channelOrderId'] : null;
+ $this->container['channel'] = isset($data['channel']) ? $data['channel'] : null;
+ $this->container['realPayAmount'] = isset($data['realPayAmount']) ? $data['realPayAmount'] : null;
+ $this->container['payerInfo'] = isset($data['payerInfo']) ? $data['payerInfo'] : null;
+ $this->container['channelPromotionInfo'] = isset($data['channelPromotionInfo']) ? $data['channelPromotionInfo'] : null;
+ $this->container['ypPromotionInfo'] = isset($data['ypPromotionInfo']) ? $data['ypPromotionInfo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 订单金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets payAmount
+ * @return float
+ */
+ public function getPayAmount()
+ {
+ return $this->container['payAmount'];
+ }
+
+ /**
+ * Sets payAmount
+ * @param float $payAmount 支付金额
+ * @return $this
+ */
+ public function setPayAmount($payAmount)
+ {
+ $this->container['payAmount'] = $payAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantFee
+ * @return float
+ */
+ public function getMerchantFee()
+ {
+ return $this->container['merchantFee'];
+ }
+
+ /**
+ * Sets merchantFee
+ * @param float $merchantFee 商户手续费
+ * @return $this
+ */
+ public function setMerchantFee($merchantFee)
+ {
+ $this->container['merchantFee'] = $merchantFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets customerFee
+ * @return float
+ */
+ public function getCustomerFee()
+ {
+ return $this->container['customerFee'];
+ }
+
+ /**
+ * Sets customerFee
+ * @param float $customerFee 用户手续费
+ * @return $this
+ */
+ public function setCustomerFee($customerFee)
+ {
+ $this->container['customerFee'] = $customerFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets paySuccessDate
+ * @return string
+ */
+ public function getPaySuccessDate()
+ {
+ return $this->container['paySuccessDate'];
+ }
+
+ /**
+ * Sets paySuccessDate
+ * @param string $paySuccessDate 支付成功时间
+ * @return $this
+ */
+ public function setPaySuccessDate($paySuccessDate)
+ {
+ $this->container['paySuccessDate'] = $paySuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 对账备注
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets payWay
+ * @return string
+ */
+ public function getPayWay()
+ {
+ return $this->container['payWay'];
+ }
+
+ /**
+ * Sets payWay
+ * @param string $payWay 支付方式
+ * @return $this
+ */
+ public function setPayWay($payWay)
+ {
+ $this->container['payWay'] = $payWay;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->container['fundProcessType'];
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType 分账都订单标识
+ * @return $this
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->container['fundProcessType'] = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankOrderId
+ * @return string
+ */
+ public function getBankOrderId()
+ {
+ return $this->container['bankOrderId'];
+ }
+
+ /**
+ * Sets bankOrderId
+ * @param string $bankOrderId 银行订单号
+ * @return $this
+ */
+ public function setBankOrderId($bankOrderId)
+ {
+ $this->container['bankOrderId'] = $bankOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelOrderId
+ * @return string
+ */
+ public function getChannelOrderId()
+ {
+ return $this->container['channelOrderId'];
+ }
+
+ /**
+ * Sets channelOrderId
+ * @param string $channelOrderId 渠道订单号
+ * @return $this
+ */
+ public function setChannelOrderId($channelOrderId)
+ {
+ $this->container['channelOrderId'] = $channelOrderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets channel
+ * @return string
+ */
+ public function getChannel()
+ {
+ return $this->container['channel'];
+ }
+
+ /**
+ * Sets channel
+ * @param string $channel 渠道类型
+ * @return $this
+ */
+ public function setChannel($channel)
+ {
+ $this->container['channel'] = $channel;
+
+ return $this;
+ }
+
+ /**
+ * Gets realPayAmount
+ * @return float
+ */
+ public function getRealPayAmount()
+ {
+ return $this->container['realPayAmount'];
+ }
+
+ /**
+ * Sets realPayAmount
+ * @param float $realPayAmount 用户实际支付金额
+ * @return $this
+ */
+ public function setRealPayAmount($realPayAmount)
+ {
+ $this->container['realPayAmount'] = $realPayAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets payerInfo
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryPayerInfoResult
+ */
+ public function getPayerInfo()
+ {
+ return $this->container['payerInfo'];
+ }
+
+ /**
+ * Sets payerInfo
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryPayerInfoResult $payerInfo 付款信息
+ * @return $this
+ */
+ public function setPayerInfo($payerInfo)
+ {
+ $this->container['payerInfo'] = $payerInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelPromotionInfo
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryChannelPromotionInfoDTOResult[]
+ */
+ public function getChannelPromotionInfo()
+ {
+ return $this->container['channelPromotionInfo'];
+ }
+
+ /**
+ * Sets channelPromotionInfo
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryChannelPromotionInfoDTOResult[] $channelPromotionInfo 渠道侧优惠列表
+ * @return $this
+ */
+ public function setChannelPromotionInfo($channelPromotionInfo)
+ {
+ $this->container['channelPromotionInfo'] = $channelPromotionInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypPromotionInfo
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryYpPromotionInfoDTOResult[]
+ */
+ public function getYpPromotionInfo()
+ {
+ return $this->container['ypPromotionInfo'];
+ }
+
+ /**
+ * Sets ypPromotionInfo
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\OrderQueryYpPromotionInfoDTOResult[] $ypPromotionInfo 易宝优惠列表
+ * @return $this
+ */
+ public function setYpPromotionInfo($ypPromotionInfo)
+ {
+ $this->container['ypPromotionInfo'] = $ypPromotionInfo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderQueryYpPromotionInfoDTOResult.php b/lib/Service/Trade/Model/OrderQueryYpPromotionInfoDTOResult.php
new file mode 100644
index 0000000..86bb132
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderQueryYpPromotionInfoDTOResult.php
@@ -0,0 +1,347 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderQueryYpPromotionInfoDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderQueryYpPromotionInfoDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderQueryYpPromotionInfoDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'marketNo' => 'string',
+ 'type' => 'string',
+ 'amount' => 'string',
+ 'contributeMerchant' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'marketNo' => null,
+ 'type' => null,
+ 'amount' => null,
+ 'contributeMerchant' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'marketNo' => 'marketNo',
+ 'type' => 'type',
+ 'amount' => 'amount',
+ 'contributeMerchant' => 'contributeMerchant',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'marketNo' => 'setMarketNo',
+ 'type' => 'setType',
+ 'amount' => 'setAmount',
+ 'contributeMerchant' => 'setContributeMerchant',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'marketNo' => 'getMarketNo',
+ 'type' => 'getType',
+ 'amount' => 'getAmount',
+ 'contributeMerchant' => 'getContributeMerchant',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['marketNo'] = isset($data['marketNo']) ? $data['marketNo'] : null;
+ $this->container['type'] = isset($data['type']) ? $data['type'] : null;
+ $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
+ $this->container['contributeMerchant'] = isset($data['contributeMerchant']) ? $data['contributeMerchant'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets marketNo
+ * @return string
+ */
+ public function getMarketNo()
+ {
+ return $this->container['marketNo'];
+ }
+
+ /**
+ * Sets marketNo
+ * @param string $marketNo 活动编号
+ * @return $this
+ */
+ public function setMarketNo($marketNo)
+ {
+ $this->container['marketNo'] = $marketNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets type
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->container['type'];
+ }
+
+ /**
+ * Sets type
+ * @param string $type 活动类型
+ * @return $this
+ */
+ public function setType($type)
+ {
+ $this->container['type'] = $type;
+
+ return $this;
+ }
+
+ /**
+ * Gets amount
+ * @return string
+ */
+ public function getAmount()
+ {
+ return $this->container['amount'];
+ }
+
+ /**
+ * Sets amount
+ * @param string $amount 活动金额
+ * @return $this
+ */
+ public function setAmount($amount)
+ {
+ $this->container['amount'] = $amount;
+
+ return $this;
+ }
+
+ /**
+ * Gets contributeMerchant
+ * @return string
+ */
+ public function getContributeMerchant()
+ {
+ return $this->container['contributeMerchant'];
+ }
+
+ /**
+ * Sets contributeMerchant
+ * @param string $contributeMerchant 出资方商编
+ * @return $this
+ */
+ public function setContributeMerchant($contributeMerchant)
+ {
+ $this->container['contributeMerchant'] = $contributeMerchant;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderRequest.php b/lib/Service/Trade/Model/OrderRequest.php
new file mode 100644
index 0000000..7cb4f18
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderRequest.php
@@ -0,0 +1,353 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return OrderRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return OrderRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return OrderRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return string
+ */
+ public function getOrderAmount()
+ {
+ return $this->orderAmount;
+ }
+
+ /**
+ * Sets orderAmount
+ * @param string $orderAmount
+ * @return OrderRequest
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->orderAmount = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets goodsName
+ * @return string
+ */
+ public function getGoodsName()
+ {
+ return $this->goodsName;
+ }
+
+ /**
+ * Sets goodsName
+ * @param string $goodsName
+ * @return OrderRequest
+ */
+ public function setGoodsName($goodsName)
+ {
+ $this->goodsName = $goodsName;
+
+ return $this;
+ }
+
+ /**
+ * Gets fundProcessType
+ * @return string
+ */
+ public function getFundProcessType()
+ {
+ return $this->fundProcessType;
+ }
+
+ /**
+ * Sets fundProcessType
+ * @param string $fundProcessType
+ * @return OrderRequest
+ */
+ public function setFundProcessType($fundProcessType)
+ {
+ $this->fundProcessType = $fundProcessType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return OrderRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return OrderRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets subOrderDetail
+ * @return string
+ */
+ public function getSubOrderDetail()
+ {
+ return $this->subOrderDetail;
+ }
+
+ /**
+ * Sets subOrderDetail
+ * @param string $subOrderDetail
+ * @return OrderRequest
+ */
+ public function setSubOrderDetail($subOrderDetail)
+ {
+ $this->subOrderDetail = $subOrderDetail;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiredTime
+ * @return string
+ */
+ public function getExpiredTime()
+ {
+ return $this->expiredTime;
+ }
+
+ /**
+ * Sets expiredTime
+ * @param string $expiredTime
+ * @return OrderRequest
+ */
+ public function setExpiredTime($expiredTime)
+ {
+ $this->expiredTime = $expiredTime;
+
+ return $this;
+ }
+
+ /**
+ * Gets redirectUrl
+ * @return string
+ */
+ public function getRedirectUrl()
+ {
+ return $this->redirectUrl;
+ }
+
+ /**
+ * Sets redirectUrl
+ * @param string $redirectUrl
+ * @return OrderRequest
+ */
+ public function setRedirectUrl($redirectUrl)
+ {
+ $this->redirectUrl = $redirectUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets csUrl
+ * @return string
+ */
+ public function getCsUrl()
+ {
+ return $this->csUrl;
+ }
+
+ /**
+ * Sets csUrl
+ * @param string $csUrl
+ * @return OrderRequest
+ */
+ public function setCsUrl($csUrl)
+ {
+ $this->csUrl = $csUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets businessInfo
+ * @return string
+ */
+ public function getBusinessInfo()
+ {
+ return $this->businessInfo;
+ }
+
+ /**
+ * Sets businessInfo
+ * @param string $businessInfo
+ * @return OrderRequest
+ */
+ public function setBusinessInfo($businessInfo)
+ {
+ $this->businessInfo = $businessInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'order';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderRequestMarshaller.php b/lib/Service/Trade/Model/OrderRequestMarshaller.php
new file mode 100644
index 0000000..294b654
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderRequestMarshaller.php
@@ -0,0 +1,129 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getOrderAmount() != null) {
+ $internalRequest->addParameter('orderAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderAmount(), 'string'));
+ }
+ if ($request->getGoodsName() != null) {
+ $internalRequest->addParameter('goodsName',
+ ObjectSerializer::sanitizeForSerialization($request->getGoodsName(), 'string'));
+ }
+ if ($request->getFundProcessType() != null) {
+ $internalRequest->addParameter('fundProcessType',
+ ObjectSerializer::sanitizeForSerialization($request->getFundProcessType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getSubOrderDetail() != null) {
+ $internalRequest->addParameter('subOrderDetail',
+ ObjectSerializer::sanitizeForSerialization($request->getSubOrderDetail(), 'string'));
+ }
+ if ($request->getExpiredTime() != null) {
+ $internalRequest->addParameter('expiredTime',
+ ObjectSerializer::sanitizeForSerialization($request->getExpiredTime(), 'string'));
+ }
+ if ($request->getRedirectUrl() != null) {
+ $internalRequest->addParameter('redirectUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getRedirectUrl(), 'string'));
+ }
+ if ($request->getCsUrl() != null) {
+ $internalRequest->addParameter('csUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getCsUrl(), 'string'));
+ }
+ if ($request->getBusinessInfo() != null) {
+ $internalRequest->addParameter('businessInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getBusinessInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+OrderRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/OrderResponse.php b/lib/Service/Trade/Model/OrderResponse.php
new file mode 100644
index 0000000..6f2d129
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return OrderYopCreateOrderV2ResDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/OrderResponseUnMarshaller.php b/lib/Service/Trade/Model/OrderResponseUnMarshaller.php
new file mode 100644
index 0000000..1202a50
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderYopCreateOrderV2ResDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderYopCreateOrderV2ResDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderYopCreateOrderV2ResDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'token' => 'string',
+ 'orderAmount' => 'float',
+ 'subOrderInfoList' => '\Yeepay\Yop\Sdk\Service\Trade\Model\OrderYopSubOrderDetailDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'token' => null,
+ 'orderAmount' => null,
+ 'subOrderInfoList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'token' => 'token',
+ 'orderAmount' => 'orderAmount',
+ 'subOrderInfoList' => 'subOrderInfoList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'token' => 'setToken',
+ 'orderAmount' => 'setOrderAmount',
+ 'subOrderInfoList' => 'setSubOrderInfoList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'token' => 'getToken',
+ 'orderAmount' => 'getOrderAmount',
+ 'subOrderInfoList' => 'getSubOrderInfoList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['token'] = isset($data['token']) ? $data['token'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ $this->container['subOrderInfoList'] = isset($data['subOrderInfoList']) ? $data['subOrderInfoList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets token
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->container['token'];
+ }
+
+ /**
+ * Sets token
+ * @param string $token token
+ * @return $this
+ */
+ public function setToken($token)
+ {
+ $this->container['token'] = $token;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 订单金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets subOrderInfoList
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\OrderYopSubOrderDetailDTOResult[]
+ */
+ public function getSubOrderInfoList()
+ {
+ return $this->container['subOrderInfoList'];
+ }
+
+ /**
+ * Sets subOrderInfoList
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\OrderYopSubOrderDetailDTOResult[] $subOrderInfoList 子单域信息
+ * @return $this
+ */
+ public function setSubOrderInfoList($subOrderInfoList)
+ {
+ $this->container['subOrderInfoList'] = $subOrderInfoList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/OrderYopSubOrderDetailDTOResult.php b/lib/Service/Trade/Model/OrderYopSubOrderDetailDTOResult.php
new file mode 100644
index 0000000..b94cd81
--- /dev/null
+++ b/lib/Service/Trade/Model/OrderYopSubOrderDetailDTOResult.php
@@ -0,0 +1,347 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * OrderYopSubOrderDetailDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class OrderYopSubOrderDetailDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'OrderYopSubOrderDetailDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'orderAmount' => 'float',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'uniqueOrderNo' => null,
+ 'orderAmount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'orderAmount' => 'orderAmount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'orderAmount' => 'setOrderAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'orderAmount' => 'getOrderAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['orderAmount'] = isset($data['orderAmount']) ? $data['orderAmount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderAmount
+ * @return float
+ */
+ public function getOrderAmount()
+ {
+ return $this->container['orderAmount'];
+ }
+
+ /**
+ * Sets orderAmount
+ * @param float $orderAmount 订单金额
+ * @return $this
+ */
+ public function setOrderAmount($orderAmount)
+ {
+ $this->container['orderAmount'] = $orderAmount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/ReceiptDownloadReceiptResponseDTOResult.php b/lib/Service/Trade/Model/ReceiptDownloadReceiptResponseDTOResult.php
new file mode 100644
index 0000000..eaf0000
--- /dev/null
+++ b/lib/Service/Trade/Model/ReceiptDownloadReceiptResponseDTOResult.php
@@ -0,0 +1,320 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * ReceiptDownloadReceiptResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class ReceiptDownloadReceiptResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'ReceiptDownloadReceiptResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'data' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'data' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'data' => 'data',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'data' => 'setData',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'data' => 'getData',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['data'] = isset($data['data']) ? $data['data'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets data
+ * @return string
+ */
+ public function getData()
+ {
+ return $this->container['data'];
+ }
+
+ /**
+ * Sets data
+ * @param string $data 回单数据
+ * @return $this
+ */
+ public function setData($data)
+ {
+ $this->container['data'] = $data;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/ReceiptDownloadRequest.php b/lib/Service/Trade/Model/ReceiptDownloadRequest.php
new file mode 100644
index 0000000..4c9bf95
--- /dev/null
+++ b/lib/Service/Trade/Model/ReceiptDownloadRequest.php
@@ -0,0 +1,93 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return ReceiptDownloadRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return ReceiptDownloadRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return ReceiptDownloadRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'receiptDownload';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/ReceiptDownloadRequestMarshaller.php b/lib/Service/Trade/Model/ReceiptDownloadRequestMarshaller.php
new file mode 100644
index 0000000..e01ce29
--- /dev/null
+++ b/lib/Service/Trade/Model/ReceiptDownloadRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+ReceiptDownloadRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/ReceiptDownloadResponse.php b/lib/Service/Trade/Model/ReceiptDownloadResponse.php
new file mode 100644
index 0000000..d8aeb4a
--- /dev/null
+++ b/lib/Service/Trade/Model/ReceiptDownloadResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return ReceiptDownloadReceiptResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/ReceiptDownloadResponseUnMarshaller.php b/lib/Service/Trade/Model/ReceiptDownloadResponseUnMarshaller.php
new file mode 100644
index 0000000..07b3344
--- /dev/null
+++ b/lib/Service/Trade/Model/ReceiptDownloadResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return RefundEndRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return RefundEndRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RefundEndRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RefundEndRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'refundEnd';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundEndRequestMarshaller.php b/lib/Service/Trade/Model/RefundEndRequestMarshaller.php
new file mode 100644
index 0000000..393a40d
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundEndRequestMarshaller.php
@@ -0,0 +1,93 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getRefundRequestId() != null) {
+ $internalRequest->addParameter('refundRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundRequestId(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RefundEndRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/RefundEndResponse.php b/lib/Service/Trade/Model/RefundEndResponse.php
new file mode 100644
index 0000000..e7c1a24
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundEndResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RefundEndYopEndRefundResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundEndResponseUnMarshaller.php b/lib/Service/Trade/Model/RefundEndResponseUnMarshaller.php
new file mode 100644
index 0000000..f4cfe45
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundEndResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundEndYopEndRefundResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundEndYopEndRefundResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundEndYopEndRefundResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'yopMerchantNo' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'status' => 'string',
+ 'refundAmount' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'yopMerchantNo' => null,
+ 'refundRequestId' => null,
+ 'uniqueRefundNo' => null,
+ 'status' => null,
+ 'refundAmount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'yopMerchantNo' => 'yopMerchantNo',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'status' => 'status',
+ 'refundAmount' => 'refundAmount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'yopMerchantNo' => 'setYopMerchantNo',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'status' => 'setStatus',
+ 'refundAmount' => 'setRefundAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'yopMerchantNo' => 'getYopMerchantNo',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'status' => 'getStatus',
+ 'refundAmount' => 'getRefundAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['yopMerchantNo'] = isset($data['yopMerchantNo']) ? $data['yopMerchantNo'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets yopMerchantNo
+ * @return string
+ */
+ public function getYopMerchantNo()
+ {
+ return $this->container['yopMerchantNo'];
+ }
+
+ /**
+ * Sets yopMerchantNo
+ * @param string $yopMerchantNo 技术发起方商编
+ * @return $this
+ */
+ public function setYopMerchantNo($yopMerchantNo)
+ {
+ $this->container['yopMerchantNo'] = $yopMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 商户退款请求时对应在易宝的退款单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount 退款申请金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/RefundFastRequest.php b/lib/Service/Trade/Model/RefundFastRequest.php
new file mode 100644
index 0000000..178d2b7
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundFastRequest.php
@@ -0,0 +1,275 @@
+orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return RefundFastRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return RefundFastRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->refundAmount;
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount
+ * @return RefundFastRequest
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->refundAmount = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets description
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Sets description
+ * @param string $description
+ * @return RefundFastRequest
+ */
+ public function setDescription($description)
+ {
+ $this->description = $description;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAccountType
+ * @return string
+ */
+ public function getRefundAccountType()
+ {
+ return $this->refundAccountType;
+ }
+
+ /**
+ * Sets refundAccountType
+ * @param string $refundAccountType
+ * @return RefundFastRequest
+ */
+ public function setRefundAccountType($refundAccountType)
+ {
+ $this->refundAccountType = $refundAccountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RefundFastRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return RefundFastRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardInfo
+ * @return string
+ */
+ public function getCardInfo()
+ {
+ return $this->cardInfo;
+ }
+
+ /**
+ * Sets cardInfo
+ * @param string $cardInfo
+ * @return RefundFastRequest
+ */
+ public function setCardInfo($cardInfo)
+ {
+ $this->cardInfo = $cardInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RefundFastRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RefundFastRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'refundFast';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundFastRequestMarshaller.php b/lib/Service/Trade/Model/RefundFastRequestMarshaller.php
new file mode 100644
index 0000000..732e65f
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundFastRequestMarshaller.php
@@ -0,0 +1,117 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getRefundRequestId() != null) {
+ $internalRequest->addParameter('refundRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundRequestId(), 'string'));
+ }
+ if ($request->getRefundAmount() != null) {
+ $internalRequest->addParameter('refundAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundAmount(), 'string'));
+ }
+ if ($request->getDescription() != null) {
+ $internalRequest->addParameter('description',
+ ObjectSerializer::sanitizeForSerialization($request->getDescription(), 'string'));
+ }
+ if ($request->getRefundAccountType() != null) {
+ $internalRequest->addParameter('refundAccountType',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundAccountType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string', 'url'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getCardInfo() != null) {
+ $internalRequest->addParameter('cardInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getCardInfo(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RefundFastRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/RefundFastResponse.php b/lib/Service/Trade/Model/RefundFastResponse.php
new file mode 100644
index 0000000..9dfd390
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundFastResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RefundFastYopFastRefundResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundFastResponseUnMarshaller.php b/lib/Service/Trade/Model/RefundFastResponseUnMarshaller.php
new file mode 100644
index 0000000..97292e0
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundFastResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundFastYopFastRefundResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundFastYopFastRefundResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundFastYopFastRefundResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'yopMerchantNo' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'status' => 'string',
+ 'refundAmount' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'yopMerchantNo' => null,
+ 'refundRequestId' => null,
+ 'uniqueRefundNo' => null,
+ 'status' => null,
+ 'refundAmount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'yopMerchantNo' => 'yopMerchantNo',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'status' => 'status',
+ 'refundAmount' => 'refundAmount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'yopMerchantNo' => 'setYopMerchantNo',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'status' => 'setStatus',
+ 'refundAmount' => 'setRefundAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'yopMerchantNo' => 'getYopMerchantNo',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'status' => 'getStatus',
+ 'refundAmount' => 'getRefundAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['yopMerchantNo'] = isset($data['yopMerchantNo']) ? $data['yopMerchantNo'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets yopMerchantNo
+ * @return string
+ */
+ public function getYopMerchantNo()
+ {
+ return $this->container['yopMerchantNo'];
+ }
+
+ /**
+ * Sets yopMerchantNo
+ * @param string $yopMerchantNo 技术发起方商彬啊
+ * @return $this
+ */
+ public function setYopMerchantNo($yopMerchantNo)
+ {
+ $this->container['yopMerchantNo'] = $yopMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 商户退款请求时对应在易宝的退款单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount 退款申请金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/RefundQueryBankPromotionInfoDTOResult.php b/lib/Service/Trade/Model/RefundQueryBankPromotionInfoDTOResult.php
new file mode 100644
index 0000000..95e4730
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundQueryBankPromotionInfoDTOResult.php
@@ -0,0 +1,456 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundQueryBankPromotionInfoDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @description
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundQueryBankPromotionInfoDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundQueryBankPromotionInfoDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'promotionId' => 'string',
+ 'promotionName' => 'string',
+ 'amountRefund' => 'float',
+ 'activityId' => 'string',
+ 'channelContribute' => 'string',
+ 'merchantContribute' => 'string',
+ 'otherContribute' => 'string',
+ 'memo' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'promotionId' => null,
+ 'promotionName' => null,
+ 'amountRefund' => null,
+ 'activityId' => null,
+ 'channelContribute' => null,
+ 'merchantContribute' => null,
+ 'otherContribute' => null,
+ 'memo' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'promotionId' => 'promotionId',
+ 'promotionName' => 'promotionName',
+ 'amountRefund' => 'amountRefund',
+ 'activityId' => 'activityId',
+ 'channelContribute' => 'channelContribute',
+ 'merchantContribute' => 'merchantContribute',
+ 'otherContribute' => 'otherContribute',
+ 'memo' => 'memo',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'promotionId' => 'setPromotionId',
+ 'promotionName' => 'setPromotionName',
+ 'amountRefund' => 'setAmountRefund',
+ 'activityId' => 'setActivityId',
+ 'channelContribute' => 'setChannelContribute',
+ 'merchantContribute' => 'setMerchantContribute',
+ 'otherContribute' => 'setOtherContribute',
+ 'memo' => 'setMemo',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'promotionId' => 'getPromotionId',
+ 'promotionName' => 'getPromotionName',
+ 'amountRefund' => 'getAmountRefund',
+ 'activityId' => 'getActivityId',
+ 'channelContribute' => 'getChannelContribute',
+ 'merchantContribute' => 'getMerchantContribute',
+ 'otherContribute' => 'getOtherContribute',
+ 'memo' => 'getMemo',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['promotionId'] = isset($data['promotionId']) ? $data['promotionId'] : null;
+ $this->container['promotionName'] = isset($data['promotionName']) ? $data['promotionName'] : null;
+ $this->container['amountRefund'] = isset($data['amountRefund']) ? $data['amountRefund'] : null;
+ $this->container['activityId'] = isset($data['activityId']) ? $data['activityId'] : null;
+ $this->container['channelContribute'] = isset($data['channelContribute']) ? $data['channelContribute'] : null;
+ $this->container['merchantContribute'] = isset($data['merchantContribute']) ? $data['merchantContribute'] : null;
+ $this->container['otherContribute'] = isset($data['otherContribute']) ? $data['otherContribute'] : null;
+ $this->container['memo'] = isset($data['memo']) ? $data['memo'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets promotionId
+ * @return string
+ */
+ public function getPromotionId()
+ {
+ return $this->container['promotionId'];
+ }
+
+ /**
+ * Sets promotionId
+ * @param string $promotionId 优惠券编码
+ * @return $this
+ */
+ public function setPromotionId($promotionId)
+ {
+ $this->container['promotionId'] = $promotionId;
+
+ return $this;
+ }
+
+ /**
+ * Gets promotionName
+ * @return string
+ */
+ public function getPromotionName()
+ {
+ return $this->container['promotionName'];
+ }
+
+ /**
+ * Sets promotionName
+ * @param string $promotionName 优惠券名称
+ * @return $this
+ */
+ public function setPromotionName($promotionName)
+ {
+ $this->container['promotionName'] = $promotionName;
+
+ return $this;
+ }
+
+ /**
+ * Gets amountRefund
+ * @return float
+ */
+ public function getAmountRefund()
+ {
+ return $this->container['amountRefund'];
+ }
+
+ /**
+ * Sets amountRefund
+ * @param float $amountRefund 优惠券退回金额
+ * @return $this
+ */
+ public function setAmountRefund($amountRefund)
+ {
+ $this->container['amountRefund'] = $amountRefund;
+
+ return $this;
+ }
+
+ /**
+ * Gets activityId
+ * @return string
+ */
+ public function getActivityId()
+ {
+ return $this->container['activityId'];
+ }
+
+ /**
+ * Sets activityId
+ * @param string $activityId 优惠券活动id
+ * @return $this
+ */
+ public function setActivityId($activityId)
+ {
+ $this->container['activityId'] = $activityId;
+
+ return $this;
+ }
+
+ /**
+ * Gets channelContribute
+ * @return string
+ */
+ public function getChannelContribute()
+ {
+ return $this->container['channelContribute'];
+ }
+
+ /**
+ * Sets channelContribute
+ * @param string $channelContribute 渠道出资
+ * @return $this
+ */
+ public function setChannelContribute($channelContribute)
+ {
+ $this->container['channelContribute'] = $channelContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantContribute
+ * @return string
+ */
+ public function getMerchantContribute()
+ {
+ return $this->container['merchantContribute'];
+ }
+
+ /**
+ * Sets merchantContribute
+ * @param string $merchantContribute 商户出资
+ * @return $this
+ */
+ public function setMerchantContribute($merchantContribute)
+ {
+ $this->container['merchantContribute'] = $merchantContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets otherContribute
+ * @return string
+ */
+ public function getOtherContribute()
+ {
+ return $this->container['otherContribute'];
+ }
+
+ /**
+ * Sets otherContribute
+ * @param string $otherContribute 其他出资
+ * @return $this
+ */
+ public function setOtherContribute($otherContribute)
+ {
+ $this->container['otherContribute'] = $otherContribute;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->container['memo'];
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo 备注信息
+ * @return $this
+ */
+ public function setMemo($memo)
+ {
+ $this->container['memo'] = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/RefundQueryQueryRefundResponseDTOResult.php b/lib/Service/Trade/Model/RefundQueryQueryRefundResponseDTOResult.php
new file mode 100644
index 0000000..52c626f
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundQueryQueryRefundResponseDTOResult.php
@@ -0,0 +1,752 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundQueryQueryRefundResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundQueryQueryRefundResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundQueryQueryRefundResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueOrderNo' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'refundAmount' => 'float',
+ 'returnMerchantFee' => 'float',
+ 'status' => 'string',
+ 'description' => 'string',
+ 'refundRequestDate' => 'string',
+ 'refundSuccessDate' => 'string',
+ 'failReason' => 'string',
+ 'realRefundAmount' => 'float',
+ 'cashRefundFee' => 'float',
+ 'bankPromotionInfoDTOList' => '\Yeepay\Yop\Sdk\Service\Trade\Model\RefundQueryBankPromotionInfoDTOResult[]',
+ 'ypPromotionInfoDTOList' => '\Yeepay\Yop\Sdk\Service\Trade\Model\RefundQueryYpPromotionRefundInfoDTOResult[]',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'refundRequestId' => null,
+ 'uniqueOrderNo' => null,
+ 'uniqueRefundNo' => null,
+ 'refundAmount' => null,
+ 'returnMerchantFee' => null,
+ 'status' => null,
+ 'description' => null,
+ 'refundRequestDate' => null,
+ 'refundSuccessDate' => null,
+ 'failReason' => null,
+ 'realRefundAmount' => null,
+ 'cashRefundFee' => null,
+ 'bankPromotionInfoDTOList' => null,
+ 'ypPromotionInfoDTOList' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueOrderNo' => 'uniqueOrderNo',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'refundAmount' => 'refundAmount',
+ 'returnMerchantFee' => 'returnMerchantFee',
+ 'status' => 'status',
+ 'description' => 'description',
+ 'refundRequestDate' => 'refundRequestDate',
+ 'refundSuccessDate' => 'refundSuccessDate',
+ 'failReason' => 'failReason',
+ 'realRefundAmount' => 'realRefundAmount',
+ 'cashRefundFee' => 'cashRefundFee',
+ 'bankPromotionInfoDTOList' => 'bankPromotionInfoDTOList',
+ 'ypPromotionInfoDTOList' => 'ypPromotionInfoDTOList',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueOrderNo' => 'setUniqueOrderNo',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'refundAmount' => 'setRefundAmount',
+ 'returnMerchantFee' => 'setReturnMerchantFee',
+ 'status' => 'setStatus',
+ 'description' => 'setDescription',
+ 'refundRequestDate' => 'setRefundRequestDate',
+ 'refundSuccessDate' => 'setRefundSuccessDate',
+ 'failReason' => 'setFailReason',
+ 'realRefundAmount' => 'setRealRefundAmount',
+ 'cashRefundFee' => 'setCashRefundFee',
+ 'bankPromotionInfoDTOList' => 'setBankPromotionInfoDTOList',
+ 'ypPromotionInfoDTOList' => 'setYpPromotionInfoDTOList',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueOrderNo' => 'getUniqueOrderNo',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'refundAmount' => 'getRefundAmount',
+ 'returnMerchantFee' => 'getReturnMerchantFee',
+ 'status' => 'getStatus',
+ 'description' => 'getDescription',
+ 'refundRequestDate' => 'getRefundRequestDate',
+ 'refundSuccessDate' => 'getRefundSuccessDate',
+ 'failReason' => 'getFailReason',
+ 'realRefundAmount' => 'getRealRefundAmount',
+ 'cashRefundFee' => 'getCashRefundFee',
+ 'bankPromotionInfoDTOList' => 'getBankPromotionInfoDTOList',
+ 'ypPromotionInfoDTOList' => 'getYpPromotionInfoDTOList',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueOrderNo'] = isset($data['uniqueOrderNo']) ? $data['uniqueOrderNo'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ $this->container['returnMerchantFee'] = isset($data['returnMerchantFee']) ? $data['returnMerchantFee'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['description'] = isset($data['description']) ? $data['description'] : null;
+ $this->container['refundRequestDate'] = isset($data['refundRequestDate']) ? $data['refundRequestDate'] : null;
+ $this->container['refundSuccessDate'] = isset($data['refundSuccessDate']) ? $data['refundSuccessDate'] : null;
+ $this->container['failReason'] = isset($data['failReason']) ? $data['failReason'] : null;
+ $this->container['realRefundAmount'] = isset($data['realRefundAmount']) ? $data['realRefundAmount'] : null;
+ $this->container['cashRefundFee'] = isset($data['cashRefundFee']) ? $data['cashRefundFee'] : null;
+ $this->container['bankPromotionInfoDTOList'] = isset($data['bankPromotionInfoDTOList']) ? $data['bankPromotionInfoDTOList'] : null;
+ $this->container['ypPromotionInfoDTOList'] = isset($data['ypPromotionInfoDTOList']) ? $data['ypPromotionInfoDTOList'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->container['uniqueOrderNo'];
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo 易宝收款订单号
+ * @return $this
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->container['uniqueOrderNo'] = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 易宝退款订单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return float
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param float $refundAmount 退款申请金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets returnMerchantFee
+ * @return float
+ */
+ public function getReturnMerchantFee()
+ {
+ return $this->container['returnMerchantFee'];
+ }
+
+ /**
+ * Sets returnMerchantFee
+ * @param float $returnMerchantFee 退回商户手续费
+ * @return $this
+ */
+ public function setReturnMerchantFee($returnMerchantFee)
+ {
+ $this->container['returnMerchantFee'] = $returnMerchantFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets description
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->container['description'];
+ }
+
+ /**
+ * Sets description
+ * @param string $description 退款原因
+ * @return $this
+ */
+ public function setDescription($description)
+ {
+ $this->container['description'] = $description;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestDate
+ * @return string
+ */
+ public function getRefundRequestDate()
+ {
+ return $this->container['refundRequestDate'];
+ }
+
+ /**
+ * Sets refundRequestDate
+ * @param string $refundRequestDate 退款受理时间
+ * @return $this
+ */
+ public function setRefundRequestDate($refundRequestDate)
+ {
+ $this->container['refundRequestDate'] = $refundRequestDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundSuccessDate
+ * @return string
+ */
+ public function getRefundSuccessDate()
+ {
+ return $this->container['refundSuccessDate'];
+ }
+
+ /**
+ * Sets refundSuccessDate
+ * @param string $refundSuccessDate 退款成功日期
+ * @return $this
+ */
+ public function setRefundSuccessDate($refundSuccessDate)
+ {
+ $this->container['refundSuccessDate'] = $refundSuccessDate;
+
+ return $this;
+ }
+
+ /**
+ * Gets failReason
+ * @return string
+ */
+ public function getFailReason()
+ {
+ return $this->container['failReason'];
+ }
+
+ /**
+ * Sets failReason
+ * @param string $failReason 退款失败原因
+ * @return $this
+ */
+ public function setFailReason($failReason)
+ {
+ $this->container['failReason'] = $failReason;
+
+ return $this;
+ }
+
+ /**
+ * Gets realRefundAmount
+ * @return float
+ */
+ public function getRealRefundAmount()
+ {
+ return $this->container['realRefundAmount'];
+ }
+
+ /**
+ * Sets realRefundAmount
+ * @param float $realRefundAmount 实际退款金额
+ * @return $this
+ */
+ public function setRealRefundAmount($realRefundAmount)
+ {
+ $this->container['realRefundAmount'] = $realRefundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets cashRefundFee
+ * @return float
+ */
+ public function getCashRefundFee()
+ {
+ return $this->container['cashRefundFee'];
+ }
+
+ /**
+ * Sets cashRefundFee
+ * @param float $cashRefundFee 用户实退金额
+ * @return $this
+ */
+ public function setCashRefundFee($cashRefundFee)
+ {
+ $this->container['cashRefundFee'] = $cashRefundFee;
+
+ return $this;
+ }
+
+ /**
+ * Gets bankPromotionInfoDTOList
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\RefundQueryBankPromotionInfoDTOResult[]
+ */
+ public function getBankPromotionInfoDTOList()
+ {
+ return $this->container['bankPromotionInfoDTOList'];
+ }
+
+ /**
+ * Sets bankPromotionInfoDTOList
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\RefundQueryBankPromotionInfoDTOResult[] $bankPromotionInfoDTOList 渠道侧优惠退回列表
+ * @return $this
+ */
+ public function setBankPromotionInfoDTOList($bankPromotionInfoDTOList)
+ {
+ $this->container['bankPromotionInfoDTOList'] = $bankPromotionInfoDTOList;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypPromotionInfoDTOList
+ * @return \Yeepay\Yop\Sdk\Service\Trade\Model\RefundQueryYpPromotionRefundInfoDTOResult[]
+ */
+ public function getYpPromotionInfoDTOList()
+ {
+ return $this->container['ypPromotionInfoDTOList'];
+ }
+
+ /**
+ * Sets ypPromotionInfoDTOList
+ * @param \Yeepay\Yop\Sdk\Service\Trade\Model\RefundQueryYpPromotionRefundInfoDTOResult[] $ypPromotionInfoDTOList 易宝侧优惠退回列表
+ * @return $this
+ */
+ public function setYpPromotionInfoDTOList($ypPromotionInfoDTOList)
+ {
+ $this->container['ypPromotionInfoDTOList'] = $ypPromotionInfoDTOList;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/RefundQueryRequest.php b/lib/Service/Trade/Model/RefundQueryRequest.php
new file mode 100644
index 0000000..f733bf9
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundQueryRequest.php
@@ -0,0 +1,145 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RefundQueryRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RefundQueryRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return RefundQueryRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return RefundQueryRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->uniqueRefundNo;
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo
+ * @return RefundQueryRequest
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->uniqueRefundNo = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'refundQuery';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundQueryRequestMarshaller.php b/lib/Service/Trade/Model/RefundQueryRequestMarshaller.php
new file mode 100644
index 0000000..3318404
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundQueryRequestMarshaller.php
@@ -0,0 +1,76 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RefundQueryRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/RefundQueryResponse.php b/lib/Service/Trade/Model/RefundQueryResponse.php
new file mode 100644
index 0000000..2cd3773
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundQueryResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RefundQueryQueryRefundResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundQueryResponseUnMarshaller.php b/lib/Service/Trade/Model/RefundQueryResponseUnMarshaller.php
new file mode 100644
index 0000000..c30a246
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundQueryResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundQueryYpPromotionRefundInfoDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundQueryYpPromotionRefundInfoDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundQueryYpPromotionRefundInfoDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'marketNo' => 'string',
+ 'ypRefundAmount' => 'string',
+ 'type' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'marketNo' => null,
+ 'ypRefundAmount' => null,
+ 'type' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'marketNo' => 'marketNo',
+ 'ypRefundAmount' => 'ypRefundAmount',
+ 'type' => 'type',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'marketNo' => 'setMarketNo',
+ 'ypRefundAmount' => 'setYpRefundAmount',
+ 'type' => 'setType',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'marketNo' => 'getMarketNo',
+ 'ypRefundAmount' => 'getYpRefundAmount',
+ 'type' => 'getType',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['marketNo'] = isset($data['marketNo']) ? $data['marketNo'] : null;
+ $this->container['ypRefundAmount'] = isset($data['ypRefundAmount']) ? $data['ypRefundAmount'] : null;
+ $this->container['type'] = isset($data['type']) ? $data['type'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets marketNo
+ * @return string
+ */
+ public function getMarketNo()
+ {
+ return $this->container['marketNo'];
+ }
+
+ /**
+ * Sets marketNo
+ * @param string $marketNo 活动编号
+ * @return $this
+ */
+ public function setMarketNo($marketNo)
+ {
+ $this->container['marketNo'] = $marketNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypRefundAmount
+ * @return string
+ */
+ public function getYpRefundAmount()
+ {
+ return $this->container['ypRefundAmount'];
+ }
+
+ /**
+ * Sets ypRefundAmount
+ * @param string $ypRefundAmount 活动退回金额
+ * @return $this
+ */
+ public function setYpRefundAmount($ypRefundAmount)
+ {
+ $this->container['ypRefundAmount'] = $ypRefundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets type
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->container['type'];
+ }
+
+ /**
+ * Sets type
+ * @param string $type 自定义营销活动类型
+ * @return $this
+ */
+ public function setType($type)
+ {
+ $this->container['type'] = $type;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/RefundRequest.php b/lib/Service/Trade/Model/RefundRequest.php
new file mode 100644
index 0000000..58cacd5
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundRequest.php
@@ -0,0 +1,301 @@
+parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RefundRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RefundRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return RefundRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return RefundRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueOrderNo
+ * @return string
+ */
+ public function getUniqueOrderNo()
+ {
+ return $this->uniqueOrderNo;
+ }
+
+ /**
+ * Sets uniqueOrderNo
+ * @param string $uniqueOrderNo
+ * @return RefundRequest
+ */
+ public function setUniqueOrderNo($uniqueOrderNo)
+ {
+ $this->uniqueOrderNo = $uniqueOrderNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->refundAmount;
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount
+ * @return RefundRequest
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->refundAmount = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets description
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Sets description
+ * @param string $description
+ * @return RefundRequest
+ */
+ public function setDescription($description)
+ {
+ $this->description = $description;
+
+ return $this;
+ }
+
+ /**
+ * Gets memo
+ * @return string
+ */
+ public function getMemo()
+ {
+ return $this->memo;
+ }
+
+ /**
+ * Sets memo
+ * @param string $memo
+ * @return RefundRequest
+ */
+ public function setMemo($memo)
+ {
+ $this->memo = $memo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAccountType
+ * @return string
+ */
+ public function getRefundAccountType()
+ {
+ return $this->refundAccountType;
+ }
+
+ /**
+ * Sets refundAccountType
+ * @param string $refundAccountType
+ * @return RefundRequest
+ */
+ public function setRefundAccountType($refundAccountType)
+ {
+ $this->refundAccountType = $refundAccountType;
+
+ return $this;
+ }
+
+ /**
+ * Gets notifyUrl
+ * @return string
+ */
+ public function getNotifyUrl()
+ {
+ return $this->notifyUrl;
+ }
+
+ /**
+ * Sets notifyUrl
+ * @param string $notifyUrl
+ * @return RefundRequest
+ */
+ public function setNotifyUrl($notifyUrl)
+ {
+ $this->notifyUrl = $notifyUrl;
+
+ return $this;
+ }
+
+ /**
+ * Gets ypPromotionRefundInfo
+ * @return string
+ */
+ public function getYpPromotionRefundInfo()
+ {
+ return $this->ypPromotionRefundInfo;
+ }
+
+ /**
+ * Sets ypPromotionRefundInfo
+ * @param string $ypPromotionRefundInfo
+ * @return RefundRequest
+ */
+ public function setYpPromotionRefundInfo($ypPromotionRefundInfo)
+ {
+ $this->ypPromotionRefundInfo = $ypPromotionRefundInfo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'refund';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundRequestMarshaller.php b/lib/Service/Trade/Model/RefundRequestMarshaller.php
new file mode 100644
index 0000000..6697701
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundRequestMarshaller.php
@@ -0,0 +1,121 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getRefundRequestId() != null) {
+ $internalRequest->addParameter('refundRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundRequestId(), 'string'));
+ }
+ if ($request->getUniqueOrderNo() != null) {
+ $internalRequest->addParameter('uniqueOrderNo',
+ ObjectSerializer::sanitizeForSerialization($request->getUniqueOrderNo(), 'string'));
+ }
+ if ($request->getRefundAmount() != null) {
+ $internalRequest->addParameter('refundAmount',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundAmount(), 'string'));
+ }
+ if ($request->getDescription() != null) {
+ $internalRequest->addParameter('description',
+ ObjectSerializer::sanitizeForSerialization($request->getDescription(), 'string'));
+ }
+ if ($request->getMemo() != null) {
+ $internalRequest->addParameter('memo',
+ ObjectSerializer::sanitizeForSerialization($request->getMemo(), 'string'));
+ }
+ if ($request->getRefundAccountType() != null) {
+ $internalRequest->addParameter('refundAccountType',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundAccountType(), 'string'));
+ }
+ if ($request->getNotifyUrl() != null) {
+ $internalRequest->addParameter('notifyUrl',
+ ObjectSerializer::sanitizeForSerialization($request->getNotifyUrl(), 'string'));
+ }
+ if ($request->getYpPromotionRefundInfo() != null) {
+ $internalRequest->addParameter('ypPromotionRefundInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getYpPromotionRefundInfo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RefundRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/RefundResponse.php b/lib/Service/Trade/Model/RefundResponse.php
new file mode 100644
index 0000000..8338ed1
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RefundResponseRefundDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundResponseRefundDTOResult.php b/lib/Service/Trade/Model/RefundResponseRefundDTOResult.php
new file mode 100644
index 0000000..5d5f618
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundResponseRefundDTOResult.php
@@ -0,0 +1,509 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundResponseRefundDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundResponseRefundDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundResponseRefundDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'status' => 'string',
+ 'refundAmount' => 'string',
+ 'refundRequestDate' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'refundRequestId' => null,
+ 'uniqueRefundNo' => null,
+ 'status' => null,
+ 'refundAmount' => null,
+ 'refundRequestDate' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'status' => 'status',
+ 'refundAmount' => 'refundAmount',
+ 'refundRequestDate' => 'refundRequestDate',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'status' => 'setStatus',
+ 'refundAmount' => 'setRefundAmount',
+ 'refundRequestDate' => 'setRefundRequestDate',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'status' => 'getStatus',
+ 'refundAmount' => 'getRefundAmount',
+ 'refundRequestDate' => 'getRefundRequestDate',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ $this->container['refundRequestDate'] = isset($data['refundRequestDate']) ? $data['refundRequestDate'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 易宝退款订单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款订单状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount 退款申请金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestDate
+ * @return string
+ */
+ public function getRefundRequestDate()
+ {
+ return $this->container['refundRequestDate'];
+ }
+
+ /**
+ * Sets refundRequestDate
+ * @param string $refundRequestDate 退款受理时间
+ * @return $this
+ */
+ public function setRefundRequestDate($refundRequestDate)
+ {
+ $this->container['refundRequestDate'] = $refundRequestDate;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/Model/RefundResponseUnMarshaller.php b/lib/Service/Trade/Model/RefundResponseUnMarshaller.php
new file mode 100644
index 0000000..d53b46c
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+orderId;
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId
+ * @return RefundSupplyRequest
+ */
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->refundRequestId;
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId
+ * @return RefundSupplyRequest
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->refundRequestId = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets cardInfo
+ * @return string
+ */
+ public function getCardInfo()
+ {
+ return $this->cardInfo;
+ }
+
+ /**
+ * Sets cardInfo
+ * @param string $cardInfo
+ * @return RefundSupplyRequest
+ */
+ public function setCardInfo($cardInfo)
+ {
+ $this->cardInfo = $cardInfo;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->parentMerchantNo;
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo
+ * @return RefundSupplyRequest
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->parentMerchantNo = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->merchantNo;
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo
+ * @return RefundSupplyRequest
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->merchantNo = $merchantNo;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'refundSupply';
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundSupplyRequestMarshaller.php b/lib/Service/Trade/Model/RefundSupplyRequestMarshaller.php
new file mode 100644
index 0000000..2d33a95
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundSupplyRequestMarshaller.php
@@ -0,0 +1,97 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getOrderId() != null) {
+ $internalRequest->addParameter('orderId',
+ ObjectSerializer::sanitizeForSerialization($request->getOrderId(), 'string'));
+ }
+ if ($request->getRefundRequestId() != null) {
+ $internalRequest->addParameter('refundRequestId',
+ ObjectSerializer::sanitizeForSerialization($request->getRefundRequestId(), 'string'));
+ }
+ if ($request->getCardInfo() != null) {
+ $internalRequest->addParameter('cardInfo',
+ ObjectSerializer::sanitizeForSerialization($request->getCardInfo(), 'string'));
+ }
+ if ($request->getParentMerchantNo() != null) {
+ $internalRequest->addParameter('parentMerchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getParentMerchantNo(), 'string'));
+ }
+ if ($request->getMerchantNo() != null) {
+ $internalRequest->addParameter('merchantNo',
+ ObjectSerializer::sanitizeForSerialization($request->getMerchantNo(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+RefundSupplyRequestMarshaller::__init();
diff --git a/lib/Service/Trade/Model/RefundSupplyResponse.php b/lib/Service/Trade/Model/RefundSupplyResponse.php
new file mode 100644
index 0000000..e95ba6e
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundSupplyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return RefundSupplyYopSupplyCardInfoRefundResponseDTOResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Trade/Model/RefundSupplyResponseUnMarshaller.php b/lib/Service/Trade/Model/RefundSupplyResponseUnMarshaller.php
new file mode 100644
index 0000000..3233b56
--- /dev/null
+++ b/lib/Service/Trade/Model/RefundSupplyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+名称(中文):新交易下单接口
名称(英文,xx.war):opr-hessian.war
简介:合单支付下单与标准收款内部下单接口合并
wiki文档地址:http://wiki.yeepay.com/pages/viewpage.action?pageId=122095805(4.新api分组相关接口规划)
预计项目上线时间:2020年6月9日
归属/拟申请的sp编码(可选):opr
期望api分组编码、名称(可选):trade(标准交易)
涉及的接口:申请下单、订单查询、申请退款、退款查询
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Trade\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * RefundSupplyYopSupplyCardInfoRefundResponseDTOResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class RefundSupplyYopSupplyCardInfoRefundResponseDTOResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'RefundSupplyYopSupplyCardInfoRefundResponseDTOResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'code' => 'string',
+ 'message' => 'string',
+ 'parentMerchantNo' => 'string',
+ 'merchantNo' => 'string',
+ 'orderId' => 'string',
+ 'yopMerchantNo' => 'string',
+ 'refundRequestId' => 'string',
+ 'uniqueRefundNo' => 'string',
+ 'status' => 'string',
+ 'refundAmount' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'code' => null,
+ 'message' => null,
+ 'parentMerchantNo' => null,
+ 'merchantNo' => null,
+ 'orderId' => null,
+ 'yopMerchantNo' => null,
+ 'refundRequestId' => null,
+ 'uniqueRefundNo' => null,
+ 'status' => null,
+ 'refundAmount' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'code' => 'code',
+ 'message' => 'message',
+ 'parentMerchantNo' => 'parentMerchantNo',
+ 'merchantNo' => 'merchantNo',
+ 'orderId' => 'orderId',
+ 'yopMerchantNo' => 'yopMerchantNo',
+ 'refundRequestId' => 'refundRequestId',
+ 'uniqueRefundNo' => 'uniqueRefundNo',
+ 'status' => 'status',
+ 'refundAmount' => 'refundAmount',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'code' => 'setCode',
+ 'message' => 'setMessage',
+ 'parentMerchantNo' => 'setParentMerchantNo',
+ 'merchantNo' => 'setMerchantNo',
+ 'orderId' => 'setOrderId',
+ 'yopMerchantNo' => 'setYopMerchantNo',
+ 'refundRequestId' => 'setRefundRequestId',
+ 'uniqueRefundNo' => 'setUniqueRefundNo',
+ 'status' => 'setStatus',
+ 'refundAmount' => 'setRefundAmount',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'code' => 'getCode',
+ 'message' => 'getMessage',
+ 'parentMerchantNo' => 'getParentMerchantNo',
+ 'merchantNo' => 'getMerchantNo',
+ 'orderId' => 'getOrderId',
+ 'yopMerchantNo' => 'getYopMerchantNo',
+ 'refundRequestId' => 'getRefundRequestId',
+ 'uniqueRefundNo' => 'getUniqueRefundNo',
+ 'status' => 'getStatus',
+ 'refundAmount' => 'getRefundAmount',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['code'] = isset($data['code']) ? $data['code'] : null;
+ $this->container['message'] = isset($data['message']) ? $data['message'] : null;
+ $this->container['parentMerchantNo'] = isset($data['parentMerchantNo']) ? $data['parentMerchantNo'] : null;
+ $this->container['merchantNo'] = isset($data['merchantNo']) ? $data['merchantNo'] : null;
+ $this->container['orderId'] = isset($data['orderId']) ? $data['orderId'] : null;
+ $this->container['yopMerchantNo'] = isset($data['yopMerchantNo']) ? $data['yopMerchantNo'] : null;
+ $this->container['refundRequestId'] = isset($data['refundRequestId']) ? $data['refundRequestId'] : null;
+ $this->container['uniqueRefundNo'] = isset($data['uniqueRefundNo']) ? $data['uniqueRefundNo'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['refundAmount'] = isset($data['refundAmount']) ? $data['refundAmount'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets code
+ * @return string
+ */
+ public function getCode()
+ {
+ return $this->container['code'];
+ }
+
+ /**
+ * Sets code
+ * @param string $code 返回码
+ * @return $this
+ */
+ public function setCode($code)
+ {
+ $this->container['code'] = $code;
+
+ return $this;
+ }
+
+ /**
+ * Gets message
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->container['message'];
+ }
+
+ /**
+ * Sets message
+ * @param string $message 返回信息
+ * @return $this
+ */
+ public function setMessage($message)
+ {
+ $this->container['message'] = $message;
+
+ return $this;
+ }
+
+ /**
+ * Gets parentMerchantNo
+ * @return string
+ */
+ public function getParentMerchantNo()
+ {
+ return $this->container['parentMerchantNo'];
+ }
+
+ /**
+ * Sets parentMerchantNo
+ * @param string $parentMerchantNo 发起方商编
+ * @return $this
+ */
+ public function setParentMerchantNo($parentMerchantNo)
+ {
+ $this->container['parentMerchantNo'] = $parentMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets merchantNo
+ * @return string
+ */
+ public function getMerchantNo()
+ {
+ return $this->container['merchantNo'];
+ }
+
+ /**
+ * Sets merchantNo
+ * @param string $merchantNo 商户编号
+ * @return $this
+ */
+ public function setMerchantNo($merchantNo)
+ {
+ $this->container['merchantNo'] = $merchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets orderId
+ * @return string
+ */
+ public function getOrderId()
+ {
+ return $this->container['orderId'];
+ }
+
+ /**
+ * Sets orderId
+ * @param string $orderId 商户收款请求号
+ * @return $this
+ */
+ public function setOrderId($orderId)
+ {
+ $this->container['orderId'] = $orderId;
+
+ return $this;
+ }
+
+ /**
+ * Gets yopMerchantNo
+ * @return string
+ */
+ public function getYopMerchantNo()
+ {
+ return $this->container['yopMerchantNo'];
+ }
+
+ /**
+ * Sets yopMerchantNo
+ * @param string $yopMerchantNo yop请求商编
+ * @return $this
+ */
+ public function setYopMerchantNo($yopMerchantNo)
+ {
+ $this->container['yopMerchantNo'] = $yopMerchantNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundRequestId
+ * @return string
+ */
+ public function getRefundRequestId()
+ {
+ return $this->container['refundRequestId'];
+ }
+
+ /**
+ * Sets refundRequestId
+ * @param string $refundRequestId 商户退款请求号
+ * @return $this
+ */
+ public function setRefundRequestId($refundRequestId)
+ {
+ $this->container['refundRequestId'] = $refundRequestId;
+
+ return $this;
+ }
+
+ /**
+ * Gets uniqueRefundNo
+ * @return string
+ */
+ public function getUniqueRefundNo()
+ {
+ return $this->container['uniqueRefundNo'];
+ }
+
+ /**
+ * Sets uniqueRefundNo
+ * @param string $uniqueRefundNo 商户退款请求对应在易宝的退款单号
+ * @return $this
+ */
+ public function setUniqueRefundNo($uniqueRefundNo)
+ {
+ $this->container['uniqueRefundNo'] = $uniqueRefundNo;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ * @param string $status 退款状态
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets refundAmount
+ * @return string
+ */
+ public function getRefundAmount()
+ {
+ return $this->container['refundAmount'];
+ }
+
+ /**
+ * Sets refundAmount
+ * @param string $refundAmount 退款金额
+ * @return $this
+ */
+ public function setRefundAmount($refundAmount)
+ {
+ $this->container['refundAmount'] = $refundAmount;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Trade/TradeClient.php b/lib/Service/Trade/TradeClient.php
new file mode 100644
index 0000000..1a0024b
--- /dev/null
+++ b/lib/Service/Trade/TradeClient.php
@@ -0,0 +1,226 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\OrderRequest $request
+ * @return Model\OrderResponse
+ * @throws YopClientException
+ */
+ public function order(Model\OrderRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\OrderRequestMarshaller::getInstance(),
+ Model\OrderResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\OrderCloseRequest $request
+ * @return Model\OrderCloseResponse
+ * @throws YopClientException
+ */
+ public function orderClose(Model\OrderCloseRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\OrderCloseRequestMarshaller::getInstance(),
+ Model\OrderCloseResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\OrderCombineQueryRequest $request
+ * @return Model\OrderCombineQueryResponse
+ * @throws YopClientException
+ */
+ public function orderCombineQuery(Model\OrderCombineQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\OrderCombineQueryRequestMarshaller::getInstance(),
+ Model\OrderCombineQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\OrderQueryRequest $request
+ * @return Model\OrderQueryResponse
+ * @throws YopClientException
+ */
+ public function orderQuery(Model\OrderQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\OrderQueryRequestMarshaller::getInstance(),
+ Model\OrderQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\ReceiptDownloadRequest $request
+ * @return Model\ReceiptDownloadResponse
+ * @throws YopClientException
+ */
+ public function receiptDownload(Model\ReceiptDownloadRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\ReceiptDownloadRequestMarshaller::getInstance(),
+ Model\ReceiptDownloadResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RefundRequest $request
+ * @return Model\RefundResponse
+ * @throws YopClientException
+ */
+ public function refund(Model\RefundRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\RefundRequestMarshaller::getInstance(),
+ Model\RefundResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RefundEndRequest $request
+ * @return Model\RefundEndResponse
+ * @throws YopClientException
+ */
+ public function refundEnd(Model\RefundEndRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\RefundEndRequestMarshaller::getInstance(),
+ Model\RefundEndResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RefundFastRequest $request
+ * @return Model\RefundFastResponse
+ * @throws YopClientException
+ */
+ public function refundFast(Model\RefundFastRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\RefundFastRequestMarshaller::getInstance(),
+ Model\RefundFastResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RefundQueryRequest $request
+ * @return Model\RefundQueryResponse
+ * @throws YopClientException
+ */
+ public function refundQuery(Model\RefundQueryRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ if ($request->getParentMerchantNo() == null) {
+ throw new YopClientException("request.parentMerchantNo is required.");
+ }
+ if ($request->getMerchantNo() == null) {
+ throw new YopClientException("request.merchantNo is required.");
+ }
+ if ($request->getOrderId() == null) {
+ throw new YopClientException("request.orderId is required.");
+ }
+ if ($request->getRefundRequestId() == null) {
+ throw new YopClientException("request.refundRequestId is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\RefundQueryRequestMarshaller::getInstance(),
+ Model\RefundQueryResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+ /**
+ * @param Model\RefundSupplyRequest $request
+ * @return Model\RefundSupplyResponse
+ * @throws YopClientException
+ */
+ public function refundSupply(Model\RefundSupplyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request, Model\RefundSupplyRequestMarshaller::getInstance(),
+ Model\RefundSupplyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Trade/TradeClientBuilder.php b/lib/Service/Trade/TradeClientBuilder.php
new file mode 100644
index 0000000..02e968f
--- /dev/null
+++ b/lib/Service/Trade/TradeClientBuilder.php
@@ -0,0 +1,88 @@
+register('order',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('orderClose',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('orderCombineQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('orderQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('receiptDownload',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('refund',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('refundEnd',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('refundFast',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('refundQuery',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ self::$authorizationReqRegistry->register('refundSupply',
+ AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256'));
+ }
+
+ /**
+ * @var ClientParams
+ */
+ private $clientParams;
+
+ /**
+ * TradeClientBuilder constructor.
+ * @param ClientParams $clientParams
+ */
+ public function __construct(ClientParams $clientParams)
+ {
+ $this->clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new TradeClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return TradeClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new TradeClientBuilder($clientParams);
+ }
+
+}
+
+TradeClientBuilder::__init();
diff --git a/lib/Service/Yop/Model/Oauth2ReportKeyHandshakeResponseResult.php b/lib/Service/Yop/Model/Oauth2ReportKeyHandshakeResponseResult.php
new file mode 100644
index 0000000..7eab717
--- /dev/null
+++ b/lib/Service/Yop/Model/Oauth2ReportKeyHandshakeResponseResult.php
@@ -0,0 +1,293 @@
+一站式服务套件
+ * OpenAPI spec version: 1.0.0
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Swagger Codegen version: 3.0.13
+ */
+
+/**
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen
+ * Do not edit the class manually.
+ */
+
+namespace Yeepay\Yop\Sdk\Service\Yop\Model;
+
+use ArrayAccess;
+use Yeepay\Yop\Sdk\Model\ModelInterface;
+use Yeepay\Yop\Sdk\Utils\ObjectSerializer;
+
+/**
+ * Oauth2ReportKeyHandshakeResponseResult Class Doc Comment
+ * @author Swagger Codegen team
+ * @package Yeepay\Yop\Sdk\
+ * @category Class
+ * @link https://github.com/swagger-api/swagger-codegen
+ */
+class Oauth2ReportKeyHandshakeResponseResult implements ModelInterface, ArrayAccess
+{
+
+ const DISCRIMINATOR = null;
+
+ /**
+ * The original name of the model.
+ * @var string
+ */
+ protected static $swaggerModelName = 'Oauth2ReportKeyHandshakeResponseResult';
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerTypes = [
+ 'keyType' => 'string',
+ 'key' => 'string',
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'keyType' => null,
+ 'key' => null,
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'keyType' => 'keyType',
+ 'key' => 'key',
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @var string[]
+ */
+ protected static $setters = [
+ 'keyType' => 'setKeyType',
+ 'key' => 'setKey',
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @var string[]
+ */
+ protected static $getters = [
+ 'keyType' => 'getKeyType',
+ 'key' => 'getKey',
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+ /**
+ * Associative array for storing property values
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['keyType'] = isset($data['keyType']) ? $data['keyType'] : null;
+ $this->container['key'] = isset($data['key']) ? $data['key'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+ /**
+ * Gets keyType
+ * @return string
+ */
+ public function getKeyType()
+ {
+ return $this->container['keyType'];
+ }
+
+ /**
+ * Sets keyType
+ * @param string $keyType 未命名
+ * @return $this
+ */
+ public function setKeyType($keyType)
+ {
+ $this->container['keyType'] = $keyType;
+
+ return $this;
+ }
+
+ /**
+ * Gets key
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->container['key'];
+ }
+
+ /**
+ * Sets key
+ * @param string $key 未命名
+ * @return $this
+ */
+ public function setKey($key)
+ {
+ $this->container['key'] = $key;
+
+ return $this;
+ }
+
+ /**
+ * Returns true if offset exists. False otherwise.
+ * @param integer $offset Offset
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ * @param integer $offset Offset
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ * @param integer $offset Offset
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+
+}
+
+
diff --git a/lib/Service/Yop/Model/Oauth2ReportKeyRequest.php b/lib/Service/Yop/Model/Oauth2ReportKeyRequest.php
new file mode 100644
index 0000000..3a0f2eb
--- /dev/null
+++ b/lib/Service/Yop/Model/Oauth2ReportKeyRequest.php
@@ -0,0 +1,67 @@
+keyType;
+ }
+
+ /**
+ * Sets keyType
+ * @param string $keyType
+ * @return Oauth2ReportKeyRequest
+ */
+ public function setKeyType($keyType)
+ {
+ $this->keyType = $keyType;
+
+ return $this;
+ }
+
+ /**
+ * Gets key
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ /**
+ * Sets key
+ * @param string $key
+ * @return Oauth2ReportKeyRequest
+ */
+ public function setKey($key)
+ {
+ $this->key = $key;
+
+ return $this;
+ }
+
+ public static function getOperationId()
+ {
+ return 'oauth2ReportKey';
+ }
+
+}
diff --git a/lib/Service/Yop/Model/Oauth2ReportKeyRequestMarshaller.php b/lib/Service/Yop/Model/Oauth2ReportKeyRequestMarshaller.php
new file mode 100644
index 0000000..cbc0d91
--- /dev/null
+++ b/lib/Service/Yop/Model/Oauth2ReportKeyRequestMarshaller.php
@@ -0,0 +1,85 @@
+serviceName);
+ $internalRequest->setResourcePath($this->resourcePath);
+ $internalRequest->setHttpMethod($this->httpMethod);
+ if (!empty($request->getRequestConfig()) && !empty($request->getRequestConfig()->getCustomRequestHeaders())) {
+ foreach ($request->getRequestConfig()->getCustomRequestHeaders() as $name => $value) {
+ $internalRequest->addHeader($name, $value);
+ }
+ }
+ if (!isset($internalRequest->getHeaders()[Headers::YOP_REQUEST_ID])) {
+ $internalRequest->addHeader(Headers::YOP_REQUEST_ID, UUIDUtils::uuid());
+ }
+ if ($request->getKeyType() != null) {
+ $internalRequest->addParameter('keyType',
+ ObjectSerializer::sanitizeForSerialization($request->getKeyType(), 'string'));
+ }
+ if ($request->getKey() != null) {
+ $internalRequest->addParameter('key',
+ ObjectSerializer::sanitizeForSerialization($request->getKey(), 'string'));
+ }
+ $internalRequest->addHeader(Headers::CONTENT_TYPE, $this->contentType);
+
+ return $internalRequest;
+ }
+
+}
+
+Oauth2ReportKeyRequestMarshaller::__init();
diff --git a/lib/Service/Yop/Model/Oauth2ReportKeyResponse.php b/lib/Service/Yop/Model/Oauth2ReportKeyResponse.php
new file mode 100644
index 0000000..c5f9847
--- /dev/null
+++ b/lib/Service/Yop/Model/Oauth2ReportKeyResponse.php
@@ -0,0 +1,36 @@
+result = $result;
+ }
+
+ /**
+ * @return Oauth2ReportKeyHandshakeResponseResult
+ */
+ function getResult()
+ {
+ return $this->result;
+ }
+
+}
diff --git a/lib/Service/Yop/Model/Oauth2ReportKeyResponseUnMarshaller.php b/lib/Service/Yop/Model/Oauth2ReportKeyResponseUnMarshaller.php
new file mode 100644
index 0000000..a3d3840
--- /dev/null
+++ b/lib/Service/Yop/Model/Oauth2ReportKeyResponseUnMarshaller.php
@@ -0,0 +1,38 @@
+clientHandler = new ClientHandler($clientParams);
+ }
+
+ /**
+ * @param Model\Oauth2ReportKeyRequest $request
+ * @return Model\Oauth2ReportKeyResponse
+ * @throws YopClientException
+ */
+ public function oauth2ReportKey(Model\Oauth2ReportKeyRequest $request)
+ {
+ if ($request == null) {
+ throw new YopClientException("request is required.");
+ }
+ $clientExecutionParams = new ClientExecutionParams($request,
+ Model\Oauth2ReportKeyRequestMarshaller::getInstance(),
+ Model\Oauth2ReportKeyResponseUnMarshaller::getInstance());
+
+ return $this->clientHandler->execute($clientExecutionParams);
+ }
+
+}
diff --git a/lib/Service/Yop/YopClientBuilder.php b/lib/Service/Yop/YopClientBuilder.php
new file mode 100644
index 0000000..1e7aae6
--- /dev/null
+++ b/lib/Service/Yop/YopClientBuilder.php
@@ -0,0 +1,67 @@
+clientParams = $clientParams;
+ }
+
+ public function build()
+ {
+ return new YopClient($this->clientParams);
+ }
+
+ /**
+ * @param $config AppSdkConfig|array|AppSdkConfigProvider
+ * @return YopClientBuilder
+ * @throws YopClientException
+ */
+ public static function builder($config)
+ {
+ $appSdkConfigProvider = null;
+ if ($config instanceof AppSdkConfigProvider) {
+ $appSdkConfigProvider = $config;
+ } else {
+ $appSdkConfigProvider = new DefaultAppSdkConfigProvider($config);
+ }
+ $clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $clientParams->setAuthorizationReqRegistry(self::$authorizationReqRegistry);
+
+ return new YopClientBuilder($clientParams);
+ }
+
+}
+
+YopClientBuilder::__init();
diff --git a/lib/Utils/DateUtils.php b/lib/Utils/DateUtils.php
new file mode 100644
index 0000000..fd4f7bb
--- /dev/null
+++ b/lib/Utils/DateUtils.php
@@ -0,0 +1,86 @@
+
+ * Note that this class doesn't use static methods because of the
+ * synchronization issues with SimpleDateFormat. This lets synchronization be
+ * done on a per-object level, instead of on a per-class level.
+ */
+class DateUtils
+{
+
+ /**
+ * Alternate ISO 8601 format without fractional seconds
+ */
+ const ALTERNATE_ISO8601_DATE_FORMAT = "Y-m-d\TH:i:s\Z";
+
+ /**
+ * @var \DateTimeZone The UTC timezone object.
+ */
+ public static $UTC_TIMEZONE;
+
+ /**
+ * Initialize $UTC_TIMEZONE
+ */
+ public static function __init()
+ {
+ DateUtils::$UTC_TIMEZONE = new \DateTimeZone("UTC");
+ }
+
+ /**
+ * Parses the specified date string as an ISO 8601 date and returns the Date
+ * object.
+ * @param $dateString string The date string to parse.
+ * @return \DateTime The parsed Date object.
+ * @throws \Exception If the date string could not be parsed.
+ */
+ public static function parseAlternateIso8601Date($dateString)
+ {
+ return \DateTime::createFromFormat(
+ DateUtils::ALTERNATE_ISO8601_DATE_FORMAT,
+ $dateString,
+ DateUtils::$UTC_TIMEZONE
+ );
+ }
+
+ /**
+ * Formats the specified date as an ISO 8601 string.
+ * @param $datetime \DateTime The date to format.
+ * @return string The ISO 8601 string representing the specified date.
+ */
+ public static function formatAlternateIso8601Date($datetime)
+ {
+ return $datetime->format(DateUtils::ALTERNATE_ISO8601_DATE_FORMAT);
+ }
+
+ /**
+ * Parses the specified date string as an RFC 822 date and returns the Date object.
+ * @param $dateString string The date string to parse.
+ * @return \DateTime The parsed Date object.
+ * @throws \Exception If the date string could not be parsed.
+ */
+ public static function parseRfc822Date($dateString)
+ {
+ return \DateTime::createFromFormat(
+ 'D, d M y H:i:s O',
+ $dateString,
+ DateUtils::$UTC_TIMEZONE
+ );
+ }
+
+ /**
+ * Formats the specified date as an RFC 822 string.
+ * @param $datetime \DateTime The date to format.
+ * @return string The RFC 822 string representing the specified date.
+ */
+ public static function formatRfc822Date($datetime)
+ {
+ return $datetime->format('D, d M y H:i:s O');
+ }
+
+}
+
+DateUtils::__init();
diff --git a/lib/Utils/Http/HttpUtils.php b/lib/Utils/Http/HttpUtils.php
new file mode 100644
index 0000000..113d2c7
--- /dev/null
+++ b/lib/Utils/Http/HttpUtils.php
@@ -0,0 +1,188 @@
+ 80, "https" => 443];
+ HttpUtils::$PERCENT_ENCODED_STRINGS = [];
+ for ($i = 0; $i < 256; ++$i) {
+ HttpUtils::$PERCENT_ENCODED_STRINGS[$i] = sprintf("%%%02X", $i);
+ }
+ foreach (range('a', 'z') as $ch) {
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord($ch)] = $ch;
+ }
+
+ foreach (range('A', 'Z') as $ch) {
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord($ch)] = $ch;
+ }
+
+ foreach (range('0', '9') as $ch) {
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord($ch)] = $ch;
+ }
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord('-')] = '-';
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord('.')] = '.';
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord('_')] = '_';
+ HttpUtils::$PERCENT_ENCODED_STRINGS[ord('~')] = '~';
+ }
+
+ public static function generateHostHeader(Uri $uri)
+ {
+ $host = $uri->getHost();
+ if (self::isUsingNonDefaultPort($uri)) {
+ $host .= ':'.$uri->getPort();
+ }
+
+ return $host;
+ }
+
+ public static function isUsingNonDefaultPort(Uri $uri)
+ {
+ $schema = strtolower($uri->getScheme());
+ $port = $uri->getPort();
+ if (empty($port) && $port < 0) {
+ return false;
+ }
+
+ return $port != self::$defaultPorts[$schema];
+ }
+
+ /**
+ * Normalize a string for use in url path. The algorithm is:
+ *
+ *
+ * - Normalize the string
+ * - replace all "%2F" with "/"
+ * - replace all "//" with "/%2F"
+ *
+ *
+ * Bos object key can contain arbitrary characters, which may result double
+ * slash in the url path. Apache Http client will replace "//" in the path
+ * with a single '/', which makes the object key incorrect. Thus we replace
+ * "//" with "/%2F" here.
+ * @param $path string the path string to normalize.
+ * @return string the normalized path string.
+ * @see #normalize(string)
+ */
+ public static function urlEncodeExceptSlash($path)
+ {
+ return str_replace("%2F", "/", self::urlEncode($path));
+ }
+
+ /**
+ * Normalize a string for use in BCE web service APIs. The normalization
+ * algorithm is:
+ *
+ *
+ * - Convert the string into a UTF-8 byte array.
+ * - Encode all octets into percent-encoding, except all URI unreserved
+ * characters per the RFC 3986.
+ *
+ *
+ * All letters used in the percent-encoding are in uppercase.
+ * @param $value string the string to normalize.
+ * @return string the normalized string.
+ */
+ public static function urlEncode($value)
+ {
+ $result = '';
+ for ($i = 0; $i < strlen($value); ++$i) {
+ $result .= self::$PERCENT_ENCODED_STRINGS[ord($value[$i])];
+ }
+
+ return $result;
+ }
+
+ /**
+ * @param $parameters array
+ * @param $forSignature bool
+ * @return string
+ */
+ public static function getCanonicalQueryString(array $parameters, $forSignature)
+ {
+ if (count($parameters) == 0) {
+ return '';
+ }
+
+ $parameterStrings = [];
+ foreach ($parameters as $name => $values) {
+ if ($forSignature
+ && strcasecmp(Headers::AUTHORIZATION, $name) == 0) {
+ continue;
+ }
+ if (!isset($name)) {
+ throw new \InvalidArgumentException(
+ "parameter key should not be null"
+ );
+ }
+ if (empty($values)) {
+ if ($forSignature) {
+ $parameterStrings[] = self::urlEncode($name).'=';
+ } else {
+ $parameterStrings[] = self::urlEncode($name);
+ }
+ } else {
+ foreach ($values as $value) {
+ $parameterStrings[] = self::urlEncode($name)
+ .'='.self::urlEncode($value);
+ }
+ }
+
+ }
+ if ($forSignature) {
+ sort($parameterStrings);
+ }
+
+ return implode('&', $parameterStrings);
+ }
+
+ /**
+ * @param array $parameters
+ * @return array
+ */
+ public static function encodedParameters(array $parameters)
+ {
+ if (empty($parameters)) {
+ return [];
+ }
+ $encodedParameters = [];
+ foreach ($parameters as $name => $values) {
+ if (empty($values)) {
+ $encodedParameters[$name] = '';
+ } elseif (count($values) == 1) {
+ $encodedParameters[$name] = self::urlEncode($values[0]);
+ } else {
+ $targetValues = [];
+ foreach ($values as $value) {
+ $targetValues[] = self::urlEncode($value);
+ }
+ $encodedParameters[$name] = $targetValues;
+ }
+ }
+
+ return $encodedParameters;
+ }
+
+ public static function usePayloadForQueryParameters(Request $request)
+ {
+ $requestIsPOST = HttpMethod::POST == $request->getHttpMethod();
+ $requestHasNoPayload = empty($request->getContent());
+
+ return $requestIsPOST && $requestHasNoPayload;
+ }
+
+}
+
+HttpUtils::__init();
diff --git a/lib/Utils/Http/Region.php b/lib/Utils/Http/Region.php
new file mode 100644
index 0000000..53cd4b5
--- /dev/null
+++ b/lib/Utils/Http/Region.php
@@ -0,0 +1,16 @@
+format('Y-m-d') : $data->format('Y-m-d H:i:s');
+ } elseif (is_array($data)) {
+ foreach ($data as $property => $value) {
+ $data[$property] = self::sanitizeForSerialization($value);
+ }
+
+ return $data;
+ } elseif (is_object($data)) {
+ $values = [];
+ $formats = $data::swaggerFormats();
+ foreach ($data::swaggerTypes() as $property => $swaggerType) {
+ $getter = $data::getters()[$property];
+ $value = $data->$getter();
+ if ($value !== null
+ && !in_array($swaggerType, [
+ 'DateTime', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number',
+ 'object', 'string', 'void',
+ ], true)
+ && method_exists($swaggerType, 'getAllowableEnumValues')
+ && !in_array($value, $swaggerType::getAllowableEnumValues())) {
+ $imploded = implode("', '", $swaggerType::getAllowableEnumValues());
+ throw new \InvalidArgumentException("Invalid value for enum '$swaggerType', must be one of: '$imploded'");
+ }
+ if ($value !== null) {
+ $values[$data::attributeMap()[$property]] = self::sanitizeForSerialization($value, $swaggerType,
+ $formats[$property]);
+ }
+ }
+
+ return (object) $values;
+ } else {
+ return (string) $data;
+ }
+ }
+
+ /**
+ * Sanitize filename by removing path.
+ * e.g. ../../sun.gif becomes sun.gif
+ * @param string $filename filename to be sanitized
+ * @return string the sanitized filename
+ */
+ public static function sanitizeFilename($filename)
+ {
+ if (preg_match("/.*[\/\\\\](.*)$/", $filename, $match)) {
+ return $match[1];
+ } else {
+ return $filename;
+ }
+ }
+
+ /**
+ * Take value and turn it into a string suitable for inclusion in
+ * the path, by url-encoding.
+ * @param string $value a string which will be part of the path
+ * @return string the serialized object
+ */
+ public static function toPathValue($value)
+ {
+ return rawurlencode(self::toString($value));
+ }
+
+ /**
+ * Take value and turn it into a string suitable for inclusion in
+ * the query, by imploding comma-separated if it's an object.
+ * If it's a string, pass through unchanged. It will be url-encoded
+ * later.
+ * @param string[]|string|\DateTime $object an object to be serialized to a string
+ * @return string the serialized object
+ */
+ public static function toQueryValue($object)
+ {
+ if (is_array($object)) {
+ return implode(',', $object);
+ } else {
+ return self::toString($object);
+ }
+ }
+
+ /**
+ * Take value and turn it into a string suitable for inclusion in
+ * the header. If it's a string, pass through unchanged
+ * If it's a datetime object, format it in ISO8601
+ * @param string $value a string which will be part of the header
+ * @return string the header string
+ */
+ public static function toHeaderValue($value)
+ {
+ return self::toString($value);
+ }
+
+ /**
+ * Take value and turn it into a string suitable for inclusion in
+ * the http body (form parameter). If it's a string, pass through unchanged
+ * If it's a datetime object, format it in ISO8601
+ * @param string|\SplFileObject $value the value of the form parameter
+ * @return string the form string
+ */
+ public static function toFormValue($value)
+ {
+ if ($value instanceof \SplFileObject) {
+ return $value->getRealPath();
+ } else {
+ return self::toString($value);
+ }
+ }
+
+ /**
+ * Take value and turn it into a string suitable for inclusion in
+ * the parameter. If it's a string, pass through unchanged
+ * If it's a datetime object, format it in ISO8601
+ * @param string|\DateTime $value the value of the parameter
+ * @return string the header string
+ */
+ public static function toString($value)
+ {
+ if ($value instanceof \DateTime) { // datetime in ISO8601 format
+ return $value->format('Y-m-d H:i:s');
+ } else {
+ return $value;
+ }
+ }
+
+ /**
+ * Serialize an array to a string.
+ * @param array $collection collection to serialize to a string
+ * @param string $collectionFormat the format use for serialization (csv,
+ * ssv, tsv, pipes, multi)
+ * @param bool $allowCollectionFormatMulti allow collection format to be a multidimensional array
+ * @return string
+ */
+ public static function serializeCollection(
+ array $collection,
+ $collectionFormat,
+ $allowCollectionFormatMulti = false
+ ) {
+ if ($allowCollectionFormatMulti && ('multi' === $collectionFormat)) {
+ // http_build_query() almost does the job for us. We just
+ // need to fix the result of multidimensional arrays.
+ return preg_replace('/%5B[0-9]+%5D=/', '=', http_build_query($collection, '', '&'));
+ }
+ switch ($collectionFormat) {
+ case 'pipes':
+ return implode('|', $collection);
+
+ case 'tsv':
+ return implode("\t", $collection);
+
+ case 'ssv':
+ return implode(' ', $collection);
+
+ case 'csv':
+ // Deliberate fall through. CSV is default format.
+ default:
+ return implode(',', $collection);
+ }
+ }
+
+ /**
+ * Deserialize a JSON string into an object
+ * @param mixed $data object or primitive to be deserialized
+ * @param string $class class name is passed as a string
+ * @param string[] $httpHeaders HTTP headers
+ * @return object|array|null an single or an array of $class instances
+ */
+ public static function deserialize($data, $class, $httpHeaders = null)
+ {
+ if (null === $data) {
+ return null;
+ } elseif (substr($class, 0, 4) === 'map[') { // for associative array e.g. map[string,int]
+ $inner = substr($class, 4, -1);
+ $deserialized = [];
+ if (strrpos($inner, ",") !== false) {
+ $subClass_array = explode(',', $inner, 2);
+ $subClass = $subClass_array[1];
+ foreach ($data as $key => $value) {
+ $deserialized[$key] = self::deserialize($value, $subClass, null);
+ }
+ }
+
+ return $deserialized;
+ } elseif (strcasecmp(substr($class, -2), '[]') === 0) {
+ $subClass = substr($class, 0, -2);
+ $values = [];
+ foreach ($data as $key => $value) {
+ $values[] = self::deserialize($value, $subClass, null);
+ }
+
+ return $values;
+ } elseif ($class === 'object') {
+ settype($data, 'array');
+
+ return $data;
+ } elseif ($class === '\DateTime') {
+ // Some API's return an invalid, empty string as a
+ // date-time property. DateTime::__construct() will return
+ // the current time for empty input which is probably not
+ // what is meant. The invalid empty string is probably to
+ // be interpreted as a missing field/value. Let's handle
+ // this graceful.
+ if (!empty($data)) {
+ return new \DateTime($data);
+ } else {
+ return null;
+ }
+ } elseif (in_array($class, [
+ 'DateTime', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object',
+ 'string', 'void',
+ ], true)) {
+ settype($data, $class);
+
+ return $data;
+ } elseif (method_exists($class, 'getAllowableEnumValues')) {
+ if (!in_array($data, $class::getAllowableEnumValues())) {
+ $imploded = implode("', '", $class::getAllowableEnumValues());
+ throw new \InvalidArgumentException("Invalid value for enum '$class', must be one of: '$imploded'");
+ }
+
+ return $data;
+ } else {
+ // If a discriminator is defined and points to a valid subclass, use it.
+ $discriminator = $class::DISCRIMINATOR;
+ if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) {
+ $subclass = '\Yeepay\Yop\Sdk\\Model\\'.$data->{$discriminator};
+ if (is_subclass_of($subclass, $class)) {
+ $class = $subclass;
+ }
+ }
+ $instance = new $class();
+ foreach ($instance::swaggerTypes() as $property => $type) {
+ $propertySetter = $instance::setters()[$property];
+
+ if (!isset($propertySetter) || !isset($data->{$instance::attributeMap()[$property]})) {
+ continue;
+ }
+
+ $propertyValue = $data->{$instance::attributeMap()[$property]};
+ if (isset($propertyValue)) {
+ $instance->$propertySetter(self::deserialize($propertyValue, $type, null));
+ }
+ }
+
+ return $instance;
+ }
+ }
+
+}
diff --git a/lib/Utils/UUIDUtils.php b/lib/Utils/UUIDUtils.php
new file mode 100644
index 0000000..4cf9503
--- /dev/null
+++ b/lib/Utils/UUIDUtils.php
@@ -0,0 +1,23 @@
+ '产品校验异常,请核对或稍后再试',
+ 'UA00010' => '账户不存在或已注销',
+ 'UA00011' => '商户账户状态异常',
+ 'UA30001' => '系统异常',
+ 'UA30006' => '商户不存在或状态异常',
+ 'UA30009' => '商户关系异常',
+ 'UA30012' => '账户余额不足,核对后再试',
+ 'UA30013' => '订单已存在,请勿重复发起',
+ 'UA30014' => '商户未开通产品,不能发起该交易',
+ 'UA40001' => '金额格式不正确',
+ 'UA5007' => '单笔转账额度超限',
+ 'UA5008' => '字段长度超长',
+ ];
+
+ protected $client;
+
+ public function __construct()
+ {
+ parent::__construct();
+ $this->client = AccountClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function transferQuery(string $requestNo)
+ {
+ $request = new TransferB2bQueryRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setRequestNo($requestNo);
+ $response = $this->client->transferB2bQuery($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error(self::MESSAGE[$result['returnCode']]);
+ }
+ }
+
+ public function transfer(array $data)
+ {
+ $request = new TransferB2bOrderRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setRequestNo($data['requestNo'])
+ ->setFromMerchantNo(config('yeepay.merchantNo'))
+ ->setToMerchantNo($data['merchantNo'])
+ ->setOrderAmount($data['amount'])
+ ->setFeeChargeSide($data['chargeSide'])
+ ->setUsage($data['usage'])
+ ->setNotifyUrl($data['notifyUrl']);
+ $response = $this->client->transferB2bOrder($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error(self::MESSAGE[$result['returnCode']]);
+ }
+ }
+
+ public function accountinfosQuery(string $merchantNo)
+ {
+ try {
+ $request = new AccountinfosQueryRequest();
+ $request->setMerchantNo($merchantNo);
+ $response = $this->client->accountinfosQuery($request);
+ $result = $response->getResult();
+ return $this->success($result);
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+
+ public function WithdrawCardBind(array $data)
+ {
+ $request = new WithdrawCardBindRequest();
+ $request->setMerchantNo($data['merchantNo'])
+ ->setBankCardType($data['bankCardType'])
+ ->setAccountNo($data['accountNo'])
+ ->setBankCode($data['bankCode']);
+ $response = $this->client->withdrawCardBind($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function WithdrawCardModify(array $data)
+ {
+ $request = new WithdrawCardModifyRequest();
+ $request->setMerchantNo($data['merchantNo'])
+ ->setBankCardOperateType('CANCELLED')
+ ->setBindId($data['bindId']);
+
+ $response = $this->client->withdrawCardModify($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function CardQuery(string $merchantNo)
+ {
+ $request = new WithdrawCardQueryRequest();
+ $request->setMerchantNo($merchantNo);
+ $response = $this->client->withdrawCardQuery($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function PayOrder(array $data)
+ {
+ $request = new PayOrderRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setRequestNo($data['requestNo'])
+ ->setOrderAmount($data['amount'])
+ ->setFeeChargeSide('PAYEE')
+ ->setReceiveType('REAL_TIME')
+ ->setReceiverBankCode($data['receiverBankCode'])
+ ->setReceiverAccountNo($data['receiverAccountNo'])
+ ->setReceiverAccountName($data['receiverAccountName'])
+ ->setBankAccountType($data['bankAccountType'] ?? 'DEBIT_CARD')
+ ->setNotifyUrl($data['notifyUrl']);
+ $response = $this->client->payOrder($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function Withdraw(array $data)
+ {
+ $request = new WithdrawOrderRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo($data['merchantNo'])
+ ->setRequestNo($data['requestNo'])
+ ->setBankCardId($data['bankCardId'])
+ ->setReceiveType('TWO_HOUR')
+ ->setOrderAmount($data['amount'])
+ ->setNotifyUrl($data['notifyUrl']);
+ $response = $this->client->withdrawOrder($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function AutoWithdrawRule(string $merchantNo)
+ {
+ try{
+ $request=new AutoWithdrawRuleQueryRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo($merchantNo);
+ $response=$this->client->autoWithdrawRuleQuery($request);
+ $result=$response->getResult();
+ if ($result['returnCode'] == 'UA00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }catch (Exception $e){
+ return $this->error($e->getMessage());
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Aggpay.php b/src/Commands/Aggpay.php
new file mode 100644
index 0000000..457fc29
--- /dev/null
+++ b/src/Commands/Aggpay.php
@@ -0,0 +1,88 @@
+client = AggpayClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function PrePay(array $data)
+ {
+ try {
+ $request = new PrePayRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['orderId'] ?? '')
+ ->setOrderAmount($data['orderAmount'] ?? '')
+ ->setExpiredTime(now()->addMinutes(30)->toDateTimeString())
+ ->setNotifyUrl($data['notifyUrl'] ?? '')
+ ->setRedirectUrl($data['redirectUrl'] ?? '')
+ ->setMemo($data['memo'] ?? '')
+ ->setGoodsName($data['goodsName'] ?? '')
+ ->setPayWay($data['payWay'] ?? 'USER_SCAN')
+ ->setChannel($data['channel'] ?? '')
+ ->setUserIp($data['userIp'])
+ ->setFundProcessType($data['fundProcessType'] ?? 'REAL_TIME')
+ ->setAppId($data['appId'] ?? '')
+ ->setUserId($data['userId'] ?? '')
+ ->setScene('ONLINE');
+ $response = $this->client->prePay($request);
+ $result = $response->getResult();
+ if ($result['code'] == '00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+
+ }
+
+ public function WechatConfig(array $data)
+ {
+ $url = $this->getJson($data['url'] ?? '');
+ $appId = $this->getJson($data['appId'] ?? '');
+
+ $request = new WechatConfigAdd0Request();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setTradeAuthDirList($url)
+ ->setAppIdList($appId);
+ $response = $this->client->wechatConfigAdd_0($request);
+ $result = $response->getResult();
+ if ($result['code'] == '00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function WechatConfigQuery()
+ {
+ $request = new WechatConfigQuery0Request();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'));
+ $response = $this->client->wechatConfigQuery_0($request);
+ $result = $response->getResult();
+ if ($result['code'] == '00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Cashier.php b/src/Commands/Cashier.php
new file mode 100644
index 0000000..a99674b
--- /dev/null
+++ b/src/Commands/Cashier.php
@@ -0,0 +1,33 @@
+client = CashierClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function PayLinkOrder(array $data)
+ {
+ $request=new PayLinkOrderRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['orderId'] ?? '')
+ ->setAmount($data['orderAmount'] ?? '')
+ ->setExpiredTime(now()->addMinutes(30)->toDateTimeString())
+ ->setNotifyUrl($data['notifyUrl'] ?? '')
+ ->setGoodsName($data['goodsName'] ?? '');
+ $response = $this->client->payLinkOrder($request);
+ $result = $response->getResult();
+ return $result;
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Divide.php b/src/Commands/Divide.php
new file mode 100644
index 0000000..cca9aa4
--- /dev/null
+++ b/src/Commands/Divide.php
@@ -0,0 +1,96 @@
+client = DivideClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ /**
+ * 申请分账
+ *
+ * @param array $data
+ *
+ * @return array
+ */
+ public function apply(array $data)
+ {
+ try {
+ $divideDetail = $this->getJson($data['divideDetail'] ?? '');
+
+ $request = new ApplyRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['trade_no'])
+ ->setUniqueOrderNo($data['uniqueOrderNo'])
+ ->setDivideRequestId($data['divideRequestId'])
+ ->setDivideDetail($divideDetail);
+ $response = $this->client->apply($request);
+ $result = $response->getResult();
+ if ($result['code'] == 'OPR00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+
+ public function complete(array $data)
+ {
+ try {
+ $request = new CompleteRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['trade_no'])
+ ->setUniqueOrderNo($data['uniqueOrderNo'])
+ ->setDivideRequestId($data['divideRequestId']);
+ $response = $this->client->complete($request);
+ $result = $response->getResult();
+ if ($result['code'] == 'OPR00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+
+ public function back(array $data)
+ {
+ try {
+ $divideBackDetail = $this->getJson($data['divideBackDetail'] ?? '');
+ $request = new BackRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['trade_no'])
+ ->setUniqueOrderNo($data['uniqueOrderNo'])
+ ->setDivideRequestId($data['divideRequestId'])
+ ->setDivideBackRequestId($data['divideBackRequestId'])
+ ->setDivideBackDetail($divideBackDetail);
+ $response = $this->client->back($request);
+ $result = $response->getResult();
+ if ($result['code'] == 'OPR00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Commands/Frontcashier.php b/src/Commands/Frontcashier.php
new file mode 100644
index 0000000..2522af1
--- /dev/null
+++ b/src/Commands/Frontcashier.php
@@ -0,0 +1,81 @@
+client = FrontcashierClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function bindCard(array $data)
+ {
+ $request = new BindcardRequestRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantFlowId($data['merchantFlowId'])
+ ->setMerchantNo($data['merchantNo'])
+ ->setUserNo($data['merchantNo'])
+ ->setUserType($data['userType'])
+ ->setBankCardNo($data['bankCardNo'])
+ ->setUserName($data['userName'])
+ ->setIdCardNo($data['idCardNo'])
+ ->setPhone($data['phone'])
+ ->setCardType($data['cardType'])
+ ->setAuthType($data['authType']);
+ $response = $this->client->bindcardRequest($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NOP00000') {
+ return $this->success($result);
+ } elseif ($result['returnCode'] == 'NOP04004') {
+ $res = $this->reSendSms($data['merchantFlowId']);
+ if ($res['code'] == 200) {
+ return $this->success($result);
+ } else {
+ return $this->error($res['message']);
+ }
+ } else {
+ return $this->error($result['message']);
+ }
+ }
+
+ public function reSendSms(string $merchantFlowId)
+ {
+ $request = new BindcardResendsmsRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantFlowId($merchantFlowId);
+ $response = $this->client->bindcardResendsms($request);
+ $result = $response->getResult();
+ if ($result['code'] == 'NOP00000 ') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ }
+
+ public function bindcardConfirm(string $merchantFlowId, string $smsCode)
+ {
+ $request = new BindcardConfirm0Request();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantFlowId($merchantFlowId)
+ ->setSmsCode($smsCode);
+ $response = $this->client->bindcardConfirm_0($request);
+ $result = $response->getResult();
+
+ if ($result['code'] == 'NOP00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/InitConfig.php b/src/Commands/InitConfig.php
new file mode 100644
index 0000000..0e63766
--- /dev/null
+++ b/src/Commands/InitConfig.php
@@ -0,0 +1,94 @@
+app_key = config('yeepay.appKey');
+ if (config('yeepay.secretKey', '')) {
+ $this->aes_secret_key = config('yeepay.secretKey');
+ }
+ if (config('yeepay.secretKey', '')) {
+ $this->encrypt_key = config('yeepay.encryptKey');
+ }
+ $this->server_root = config('yeepay.serverRoot');
+ $this->yos_server_root = config('yeepay.yosServerRoot');
+ $this->yop_public_key = [
+ [
+ 'store_type' => config('yeepay.storeType'),
+ 'cert_type' => config('yeepay.certType'),
+ 'value' => config('yeepay.yopPublicKey'),
+ ],
+ ];
+ $this->isv_private_key = [
+ [
+ 'store_type' => config('yeepay.storeType'),
+ 'cert_type' => config('yeepay.certType'),
+ 'value' => config('yeepay.isvPrivateKey'),
+ ],
+ ];
+ $this->http_client = config('yeepay.httpClient');
+ }
+
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ public function getSdkConfig()
+ {
+ return new AppSdkConfig($this->params);
+ }
+
+ public function result()
+ {
+
+ }
+
+ public function success($data)
+ {
+ return $this->message($data, 'SUCCESS', '成功', 200);
+ }
+
+ public function error($message, $code = 400)
+ {
+ return $this->message([], 'ERROR', $message, $code);
+ }
+
+ public function message($data, $state, $message, $code)
+ {
+ return [
+ 'code' => $code,
+ 'state' => $state,
+ 'message' => $message,
+ 'data' => $data,
+ ];
+ }
+
+ public function getJson($value)
+ {
+ if (is_array($value)) {
+ return json_encode($value, JSON_UNESCAPED_UNICODE);
+ } else {
+ return $value;
+ }
+ }
+
+ public function __set($name, $value)
+ {
+ $this->params[$name] = $value;
+ }
+
+ public function __get($name)
+ {
+ return $this->params[$name] ?? '';
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Mer.php b/src/Commands/Mer.php
new file mode 100644
index 0000000..26a7583
--- /dev/null
+++ b/src/Commands/Mer.php
@@ -0,0 +1,165 @@
+client = MerClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function RegisterContributeMerchant(array $data)
+ {
+ try {
+ $role = $data['role'] ?? 'SETTLED_MERCHANT';
+ $subjectInfo = $this->getJson($data['subjectInfo'] ?? '');
+ $contactInfo = $this->getJson($data['contactInfo'] ?? '');
+ $corporationInfo = $this->getJson($data['corporationInfo'] ?? '');
+ $addressInfo = $this->getJson($data['addressInfo'] ?? '');
+ $accountInfo = $this->getJson($data['accountInfo'] ?? '');
+ $productInfo = $this->getJson($data['productInfo'] ?? '');
+ $request = new RegisterContributeMerchantRequest();
+ $request->setBusinessRole($role)
+ ->setRequestNo($data['requestNo'])
+ ->setMerchantSubjectInfo($subjectInfo)
+ ->setMerchantContactInfo($contactInfo)
+ ->setMerchantCorporationInfo($corporationInfo)
+ ->setBusinessAddressInfo($addressInfo)
+ ->setSettlementAccountInfo($accountInfo)
+ ->setProductInfo($productInfo)
+ ->setNotifyUrl($data['notifyUrl'] ?? '');
+ $response = $this->client->registerContributeMerchant($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+
+ public function RegisterContributeMicro(array $data)
+ {
+ try {
+ $role = $data['role'] ?? 'SHARE_MERCHANT';
+ $subjectInfo = $this->getJson($data['subjectInfo'] ?? '');
+ $corporationInfo = $this->getJson($data['corporationInfo'] ?? '');
+ $addressInfo = $this->getJson($data['addressInfo'] ?? '');
+ $accountInfo = $this->getJson($data['accountInfo'] ?? '');
+ $request = new RegisterContributeMicroRequest();
+ $request->setRequestNo($data['requestNo'] ?? '')
+ ->setBusinessRole($role)
+ ->setMerchantSubjectInfo($subjectInfo)
+ ->setMerchantCorporationInfo($corporationInfo)
+ ->setBusinessAddressInfo($addressInfo)
+ ->setAccountInfo($accountInfo)
+ ->setNotifyUrl($data['notifyUrl'] ?? '');
+ $response = $this->client->registerContributeMicro($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+
+ public function NotifyRepeat(array $data)
+ {
+ $request = new NotifyRepeatRequest();
+ $request->setRequestNo($data['requestNo'] ?? '')
+ ->setApplicationNo($data['applicationNo'] ?? '')
+ ->setType($data['type'] ?? '');
+ $response = $this->client->notifyRepeat($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function RegisterQuery(string $requestNo)
+ {
+ try {
+ $request = new RegisterQueryRequest();
+ $request->setRequestNo($requestNo);
+ $response = $this->client->registerQuery($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+
+ }
+
+ public function FeeQuery(string $merchantNo)
+ {
+ $request = new ProductFeeQueryRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo($merchantNo);
+ $response = $this->client->productFeeQuery($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function UnFreeze($data)
+ {
+ $request = new MerchantDisposeUnfreezeRequest();
+ $request->setMerchantNo($data['merchantNo'])
+ ->setRequestNo($data['requestNo'])
+ ->setNotifyUrl($data['notifyUrl']);
+ $response = $this->client->merchantDisposeUnfreeze($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+ public function FeeModify(array $data)
+ {
+
+ $productInfo = $this->getJson($data['productInfo'] ?? '');
+ $request = new ProductFeeModifyRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo($data['merchantNo'])
+ ->setNotifyUrl($data['notifyUrl'])
+ ->setProductInfo($productInfo);
+ $response = $this->client->productFeeModify($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'NIG00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Commands/Nccashierapi.php b/src/Commands/Nccashierapi.php
new file mode 100644
index 0000000..bf30673
--- /dev/null
+++ b/src/Commands/Nccashierapi.php
@@ -0,0 +1,38 @@
+client = NccashierapiClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function pay(array $data)
+ {
+ $request = new ApiPayRequest();
+ $request->setToken($data['token']);
+ $request->setPayTool($data['payTool']);
+ $request->setPayType($data['payType']);
+ $request->setUserIp($data['userIp']);
+ $request->setAppId($data['appId']);
+ $request->setOpenId($data['openId']);
+ $request->setVersion('1.0');
+ $response = $this->client->apiPay($request);
+ $result = $response->getResult();
+ if ($result['code'] == 'CAS00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Settle.php b/src/Commands/Settle.php
new file mode 100644
index 0000000..d48764b
--- /dev/null
+++ b/src/Commands/Settle.php
@@ -0,0 +1,33 @@
+client = SettleClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function recordsQuery(string $merchantNo, string $start_at, string $end_at)
+ {
+ $request = new RecordsQueryRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo($merchantNo)
+ ->setSettleRequestBeginTime($start_at)
+ ->setSettleRequestEndTime($end_at);
+ $response = $this->client->recordsQuery($request);
+ $result = $response->getResult();
+ if ($result['code'] == '000000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Commands/Std.php b/src/Commands/Std.php
new file mode 100644
index 0000000..c726d58
--- /dev/null
+++ b/src/Commands/Std.php
@@ -0,0 +1,36 @@
+client = StdClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function TradeOrder(array $data)
+ {
+ $goodsParam = $this->getJson($data['goodsParam'] ?? '');
+
+ $request = new TradeOrderRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['no'] ?? '')
+ ->setOrderAmount($data['amount'] ?? '')
+ ->setNotifyUrl($data['notifyUrl'])
+ ->setRedirectUrl($data['redirectUrl'])
+ ->setGoodsParamExt($goodsParam);
+ $response = $this->client->tradeOrder($request);
+ $result = $response->getResult();
+ dd($result);
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Sys.php b/src/Commands/Sys.php
new file mode 100644
index 0000000..cd10a39
--- /dev/null
+++ b/src/Commands/Sys.php
@@ -0,0 +1,40 @@
+client = SysClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function MerchantQualUpload(string $filePath)
+ {
+ try {
+ $request = new MerchantQualUploadRequest();
+ $request->setMerQual(fopen($filePath, 'r'));
+ $response = $this->client->merchantQualUpload($request);
+ $result = $response->getResult();
+ if ($result['returnCode'] == 'REG00000') {
+ return $this->success(['merQualUrl' => $result['merQualUrl']]);
+ } else {
+ return $this->error($result['returnMsg']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+ }
+
+
+
+}
\ No newline at end of file
diff --git a/src/Commands/Trade.php b/src/Commands/Trade.php
new file mode 100644
index 0000000..9d26b2a
--- /dev/null
+++ b/src/Commands/Trade.php
@@ -0,0 +1,46 @@
+client = TradeClientBuilder::builder($this->getSdkConfig())->build();
+ }
+
+ public function order(array $data)
+ {
+ try {
+ $request = new OrderRequest();
+ $request->setParentMerchantNo(config('yeepay.merchantNo'))
+ ->setMerchantNo(config('yeepay.merchantNo'))
+ ->setOrderId($data['order_id'])
+ ->setOrderAmount($data['amount'])
+ ->setGoodsName($data['goods_name'])
+ ->setFundProcessType($data['fundProcessType'] ?? 'REAL_TIME')
+ ->setExpiredTime($data['expiredTime'] ?? now()->addMinutes(30))
+ ->setNotifyUrl($data['notifyUrl']);
+ $respnonse = $this->client->order($request);
+
+ $result = $respnonse->getResult();
+ if ($result['code'] == 'OPR00000') {
+ return $this->success($result);
+ } else {
+ return $this->error($result['message']);
+ }
+ } catch (Exception $e) {
+ return $this->error($e->getMessage());
+ }
+
+ }
+
+}
\ No newline at end of file
diff --git a/src/Commands/Yop.php b/src/Commands/Yop.php
new file mode 100644
index 0000000..84a790d
--- /dev/null
+++ b/src/Commands/Yop.php
@@ -0,0 +1,57 @@
+getSdkConfig());
+ $authorizationReqRegistry = new MockAuthorityReqRegistry();
+ $this->clientParams = ClientParamsSupport::generateClientParams($appSdkConfigProvider);
+ $this->clientParams->setAuthorizationReqRegistry($authorizationReqRegistry);
+
+ }
+
+ public function sign()
+ {
+ $authorizationReq = AuthorizationReqSupport::getAuthorizationReq('YOP-RSA2048-SHA256');
+ $signer = SignerFactory::getSigner($authorizationReq->getSignerType());
+ $signOptions = new SignOptions($authorizationReq->getDigestAlg(),
+ $authorizationReq->getProtocolPrefix());
+ $httpExecutionContext = new ExecutionContext();
+ $httpExecutionContext->setSigner($signer)->setSignOptions($signOptions);
+ $ResponseUnMarshalParams = new ResponseUnMarshalParams();
+ $ResponseUnMarshalParams->setSigner($signer)->setSignOptions($signOptions)
+ ->setPublicKey($this->clientParams->getCredentialsProvider()->getYopPublicKey($authorizationReq->getCredentialType()));
+
+ }
+
+ public function signSim(string $string)
+ {
+ $private_key =config('yeepay.isvPrivateKey');
+ $private_key = "-----BEGIN RSA PRIVATE KEY-----\n" .
+ wordwrap($private_key, 64, "\n", true) .
+ "\n-----END RSA PRIVATE KEY-----";
+ $privateKey = openssl_pkey_get_private($private_key);// 提取私钥
+
+ openssl_sign($string, $encode_data, $privateKey, "SHA256");
+ openssl_free_key($privateKey);
+ $signToBase64 = Base64Url::encode($encode_data);
+ $signToBase64 .= '$SHA256';
+ }
+}
\ No newline at end of file
diff --git a/src/Facade.php b/src/Facade.php
new file mode 100644
index 0000000..c504cd2
--- /dev/null
+++ b/src/Facade.php
@@ -0,0 +1,13 @@
+app->runningInConsole()) {
+ $this->publishes([__DIR__.'/../config/config.php' => config_path('yeepay.php')], 'yeepay');
+ $this->loadMigrationsFrom(__DIR__.'/../database/migrations/');
+ }
+ }
+
+ /**
+ * 部署时加载
+ * @Author:
+ * @Date:2020-11-20T12:30:20+0800
+ * @return void
+ */
+ public function register()
+ {
+ $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'yeepay');
+ }
+
+}
\ No newline at end of file
diff --git a/src/YeePay.php b/src/YeePay.php
new file mode 100644
index 0000000..d748f0e
--- /dev/null
+++ b/src/YeePay.php
@@ -0,0 +1,49 @@
+command($className);
+ if (count($arguments) == 2) {
+ return $class->$functionName($arguments[0], $arguments[1]);
+ } elseif (count($arguments) == 1) {
+ return $class->$functionName($arguments[0]);
+ } else {
+ return $class->$functionName();
+ }
+ } else {
+ $this->command($name);
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/src/YopSign/AESEncrypter.php b/src/YopSign/AESEncrypter.php
new file mode 100644
index 0000000..9b8fede
--- /dev/null
+++ b/src/YopSign/AESEncrypter.php
@@ -0,0 +1,41 @@
+ $v) {
+ if (!in_array($k, $ignoreParamNames)) {
+ if (!($v === null)) {
+ $str .= "$k$v";
+ }
+ }
+ }
+ //将签名密钥拼接到签名字符串两头
+ $str = $secret.$str.$secret;
+ //通过指定算法生成sing
+ $signValue = hash($algName, $str);
+
+ return $signValue;
+ }
+
+ /**
+ * 签名验证算法
+ * @param array $result API调用的请求参数集合的关联数组,不包含sign参数
+ * @param String $secret 密钥
+ * @param String $algName 加密算法
+ * @param String $sign 签名值
+ * @return string 返回签名是否正确 0 - 如果两个字符串相等
+ */
+ public static function isValidResult($result, $secret, $algName, $sign)
+ {
+ $newString = $secret.$result.$secret;
+
+ if (strcasecmp($sign, hash($algName, $newString)) == 0) {
+ return true;
+ } else {
+ return false;
+ }
+
+ }
+
+ public static function decrypt($source, $private_Key, $public_Key)
+ {
+ $private_key = "-----BEGIN RSA PRIVATE KEY-----\n".
+ wordwrap($private_Key, 64, "\n", true).
+ "\n-----END RSA PRIVATE KEY-----";
+
+ extension_loaded('openssl') or die('php需要openssl扩展支持');
+ /* 提取私钥 */
+ $privateKey = openssl_get_privatekey($private_key);
+ ($privateKey) or die('密钥不可用');
+ //分解参数
+ $args = explode('$', $source);
+
+ if (count($args) != 4) {
+ die('source invalid : ');
+ }
+ $encryptedRandomKeyToBase64 = $args[0];
+ $encryptedDataToBase64 = $args[1];
+ $symmetricEncryptAlg = $args[2];
+ $digestAlg = $args[3];
+ //用私钥对随机密钥进行解密
+ openssl_private_decrypt(Base64Url::decode($encryptedRandomKeyToBase64), $randomKey, $privateKey);
+ openssl_free_key($privateKey);
+ $encryptedData = openssl_decrypt(Base64Url::decode($encryptedDataToBase64), "AES-128-ECB", $randomKey,
+ OPENSSL_RAW_DATA);
+ //分解参数
+ $signToBase64 = substr(strrchr($encryptedData, '$'), 1);
+ $sourceData = substr($encryptedData, 0, strlen($encryptedData) - strlen($signToBase64) - 1);
+ $public_key = "-----BEGIN PUBLIC KEY-----\n".
+ wordwrap($public_Key, 64, "\n", true).
+ "\n-----END PUBLIC KEY-----";
+ $publicKey = openssl_pkey_get_public($public_key);
+ $res = openssl_verify($sourceData, Base64Url::decode($signToBase64), $publicKey, $digestAlg); //验证
+ openssl_free_key($publicKey);
+ if ($res == 1) {
+ return $sourceData;
+ } else {
+ die("verifySign fail!");
+ }
+ }
+
+ public static function signRsa($source, $private_Key)
+ {
+ $private_key = "-----BEGIN RSA PRIVATE KEY-----\n".
+ wordwrap($private_Key, 64, "\n", true).
+ "\n-----END RSA PRIVATE KEY-----";
+ extension_loaded('openssl') or die('php需要openssl扩展支持');
+ /* 提取私钥 */
+ $privateKey = openssl_get_privatekey($private_key);
+ ($privateKey) or die('密钥不可用');
+ openssl_sign($source, $encode_data, $privateKey, "SHA256");
+ openssl_free_key($privateKey);
+ $signToBase64 = Base64Url::encode($encode_data);
+ $signToBase64 .= '$SHA256';
+
+ return $signToBase64;
+ }
+
+ public static function getPrivateKey($filepath, $password)
+ {
+ $pkcs12 = file_get_contents($filepath);
+ openssl_pkcs12_read($pkcs12, $certs, $password);
+ $prikeyid = $certs['pkey']; //私钥
+ $prikeyid = str_replace('-----BEGIN RSA PRIVATE KEY-----', '', $prikeyid);
+ $prikeyid = str_replace('-----END RSA PRIVATE KEY-----', '', $prikeyid);
+ $prikeyid = preg_replace("/(\r\n|\n|\r|\t)/i", '', $prikeyid);
+
+ return $prikeyid;
+
+ }
+
+}
\ No newline at end of file