Skip to content
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

Creates PaymentAccount and related elements #262

Merged
merged 5 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 74 additions & 6 deletions Master-OB-OpenAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,9 @@
},
"Scope": {
"$ref": "#/components/schemas/Scope"
},
"PaymentMethod": {
"$ref": "#/components/schemas/PaymentMethod"
}
},
"x-ob-usage-tips": ""
Expand Down Expand Up @@ -8131,6 +8134,9 @@
},
"AlternativeIdentifiers": {
"$ref": "#/components/schemas/AlternativeIdentifiers"
},
"PaymentMethods": {
"$ref": "#/components/schemas/PaymentMethods"
}
}
},
Expand Down Expand Up @@ -12399,6 +12405,23 @@
}
]
},
"PaymentToken": {
"allOf": [
{
"$ref": "#/components/schemas/TaxonomyElementString"
},
{
"type": "object",
"description": "The token assigned by the payment processor to represent a previously stored payment method. This value should not contain any information that is subject to Payment Card Industry (PCI) compliance.",
"x-ob-item-type": "StringItemType",
"x-ob-item-type-group": "",
"x-ob-usage-tips": "",
"x-ob-sample-value": {
"Value": "tok_1Ne36S2eZvKYlo2CsVv8aURt"
}
}
]
},
"IdentifierType": {
"allOf": [
{
Expand All @@ -12416,12 +12439,51 @@
}
]
},
"ManufacturerUPC": {
"allOf": [
{
"$ref": "#/components/schemas/TaxonomyElementString"
},
{
"PaymentMethod": {
"description": "The named method of payment(s) at the payment processor that can be used to fund the transaction(s). Used for expenses related to a task, non-payroll related payments and other payments that may not be included in existing contractual payments.",
"properties": {
"PaymentToken": {
"$ref": "#/components/schemas/PaymentToken"
},
"AlternativeIdentifiers": {
"$ref": "#/components/schemas/AlternativeIdentifiers"
},
"Tags": {
"$ref": "#/components/schemas/Tags"
},
"Comments": {
"$ref": "#/components/schemas/Comments"
},
"PaymentMethodName": {
"$ref": "#/components/schemas/PaymentMethodName"
}
},
"type": "object"
},
"PaymentMethodName": {
"allOf": [
{
"$ref": "#/components/schemas/TaxonomyElementString"
},
{
"type": "object",
"description": "The name of the account that is meaningful to the person making the payment. This does not need to be unique or meaningful to anyone else. This value is not subject to Payment Card Industry (PCI) compliance.",
"x-ob-item-type": "StringItemType",
"x-ob-item-type-group": "",
"x-ob-usage-tips": "",
"x-ob-sample-value": {
"Value": "MyBusinessCard"
}
}
]
},
"ManufacturerUPC": {
"allOf": [
{
"$ref": "#/components/schemas/TaxonomyElementString"
},
{
"type": "object",
"description": "Universal Product Code (UPC) (technically refers to UPC-A) consists of 12 digits that are uniquely assigned to each trade item. This value is assigned by the manufacturer of the trade item/product. ",
"x-ob-item-type": "StringItemType",
"x-ob-item-type-group": "",
Expand All @@ -12431,6 +12493,12 @@
}
}
]
},
"PaymentMethods": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PaymentMethod"
}
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions docs/whatsnew/whatsnew_dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ Element changes
* Removes ProductWarranty, PowerWarranty, EquipTypeWarr, EquipTypeWarrEndDate, EquipTypeWarrOutput, EquipTypeWarrStartDate, EquipTypeWarrStartDateMilestone, EquipTypeWarrTerm, ModuleMaterialsAndWorkmanShipWarrInitiationDate, ModulePerfWarrEndDate, ModulePerfWarrGuaranteedOutput, TrackerMaterialsWorkmanshipWarrExp, TrackerMaterialsWorkmanshipWarrInitiation (:pull:`246`)
* Removes CertificationTypeProduct (:pull:`255`)
* Creates CECPBIMeter, DisplayProximity, DisplayTypes, DisplayIsCECCompliant (:pull:`250`)
* Creates PaymentToken, PaymentMethodName (:pull:`262`)
* Creates IdentifierType and adds to AlternativeIdentifier (:pull:`260`)
* Creates ManufacturerUPC (:pull:`259`)

Object changes
~~~~~~~~~~~~~~
* Removes DeviceWarranty (:pull:`246`)
* Adds CECPBIMeter, DisplayProximity, DisplayTypes, DisplayIsCECCompliant and CommunicationProtocol to ProdMeter (:pull:`250`)
* Creates PaymentMethod object (:pull:`262`)
* Removes old MonthlyOperatingReport, replaced by OperatingReport (:pull:`257`)
* Adds ManufacturerUPC to Product (:pull:`259`)

Expand Down
Loading