edutap.wallet_google.models.datatypes.money.Money#

pydantic model edutap.wallet_google.models.datatypes.money.Money#

see: https://developers.google.com/wallet/tickets/events/rest/v1/Money

Show JSON schema
{
   "title": "Money",
   "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Money",
   "type": "object",
   "properties": {
      "kind": {
         "default": null,
         "deprecated": true,
         "title": "Kind",
         "type": "string"
      },
      "micros": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Micros"
      },
      "currencyCode": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Currencycode"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

Fields:
field currencyCode: str | None = None#
field micros: str | None = None#
kind: Annotated[str, Field(deprecated=deprecated('Attribute "kind" was used in the past to identify resources but is now deprecated.'), exclude=True, default=None)]#

Read-only data descriptor used to emit a runtime deprecation warning before accessing a deprecated field.

Attributes:

msg: The deprecation message to be emitted. wrapped_property: The property instance if the deprecated field is a computed field, or None. field_name: The name of the field being deprecated.