edutap.wallet_google.models.datatypes.loyalty.LoyaltyPointsBalance#
- pydantic model edutap.wallet_google.models.datatypes.loyalty.LoyaltyPointsBalance#
data-type, see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyobject#LoyaltyPointsBalance
Show JSON schema
{ "title": "LoyaltyPointsBalance", "description": "data-type,\nsee: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyobject#LoyaltyPointsBalance", "type": "object", "properties": { "string": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "String" }, "int": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Int" }, "double": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Double" }, "money": { "anyOf": [ { "$ref": "#/$defs/Money" }, { "type": "null" } ], "default": null } }, "$defs": { "Money": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Money", "properties": { "micros": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Micros" }, "currencyCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Currencycode" } }, "title": "Money", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
- Fields:
- Validators:
check_one_of
»all fields
- field double: float | None = None#
- Validated by:
- field int_: int | None = None (alias 'int')#
- Validated by:
- field string: str | None = None#
- Validated by:
- validator check_one_of » all fields#