-
Couldn't load subscription status.
- Fork 10
RATESWSX-162: add support for multiple tracking ids #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
eiriarte-mendez
merged 1 commit into
ratepay:master
from
rommelfreddy:task/RATESWSX-162_support-for-multiple-tracking-ids
Mar 10, 2021
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| <?php | ||
|
|
||
| /* | ||
| * Ratepay PHP-Library | ||
| * | ||
| * This document contains trade secret data which are the property of | ||
| * Ratepay GmbH, Berlin, Germany. Information contained herein must not be used, | ||
| * copied or disclosed in whole or part unless permitted in writing by Ratepay GmbH. | ||
| * All rights reserved by Ratepay GmbH. | ||
| * | ||
| * Copyright (c) 2019 Ratepay GmbH / Berlin / Germany | ||
| */ | ||
|
|
||
| namespace RatePAY\Model\Request\SubModel\Head\External\Tracking; | ||
|
|
||
| use RatePAY\Model\Request\SubModel\AbstractModel; | ||
|
|
||
| /** | ||
| * @method string getId() | ||
| * @method $this setProvider(string $provider) | ||
| * @method string getProvider() | ||
| */ | ||
| class Id extends AbstractModel | ||
| { | ||
| /** | ||
| * List of admitted fields. | ||
| * Each field is public accessible by certain getter and setter. | ||
| * E.g: | ||
| * Set id by using setId(var). Get id by using getId(). (Please consider the camel case). | ||
| * | ||
| * Settings: | ||
| * mandatory = field is mandatory (or optional) | ||
| * mandatoryByRule = field is mandatory if rule is passed | ||
| * optionalByRule = field will only returned if rule is passed | ||
| * default = default value if no different value is set | ||
| * isAttribute = field is xml attribute to parent object | ||
| * isAttributeTo = field is xml attribute to field (in value) | ||
| * instanceOf = value has to be an instance of class (in value) | ||
| * cdata = value will be wrapped in CDATA tag | ||
| * | ||
| * @var array | ||
| */ | ||
| public $admittedFields = [ | ||
| 'Description' => [ // This field will be converted to the inner xml data. this will be identified by the field name "description" | ||
| 'mandatory' => false, | ||
| 'cdata' => true, | ||
| ], | ||
| 'Provider' => [ | ||
| 'mandatory' => false, | ||
| 'isAttribute' => true, | ||
| ], | ||
| ]; | ||
|
|
||
| /** | ||
| * @param string $id | ||
| * | ||
| * @return Id | ||
| */ | ||
| public function setId($id) | ||
| { | ||
| return $this->__set('Description', $id); | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.