edutap.wallet_google.models.misc.SmartTap#
- pydantic model edutap.wallet_google.models.misc.SmartTap#
see: https://developers.google.com/wallet/generic/rest/v1/smarttap#resource:-smarttap
Show JSON schema
{ "title": "SmartTap", "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#resource:-smarttap", "type": "object", "properties": { "id": { "title": "Id", "type": "string" }, "merchantId": { "title": "Merchantid", "type": "string" }, "infos": { "anyOf": [ { "items": { "$ref": "#/$defs/IssuerToUserInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Infos" } }, "$defs": { "Action": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#action", "enum": [ "actionUnspecified", "ACTION_UNSPECIFIED", "s2ap", "S2AP", "signUp", "SIGN_UP" ], "title": "Action", "type": "string" }, "IssuerToUserInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#issuertouserinfo", "properties": { "action": { "$ref": "#/$defs/Action", "default": "ACTION_UNSPECIFIED" }, "url": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "title": "Url" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" }, "signUpInfo": { "anyOf": [ { "$ref": "#/$defs/SignUpInfo" }, { "type": "null" } ], "default": null } }, "title": "IssuerToUserInfo", "type": "object" }, "SignUpInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#signupinfo", "properties": { "classId": { "title": "Classid", "type": "string" } }, "required": [ "classId" ], "title": "SignUpInfo", "type": "object" } }, "additionalProperties": false, "required": [ "id", "merchantId" ] }
- Config:
extra: str = forbid
- Fields:
- field infos: list[IssuerToUserInfo] | None = None#
- field merchantId: str [Required]#