edutap.wallet_google.models.datatypes.loyalty.LoyaltyPoints#
- pydantic model edutap.wallet_google.models.datatypes.loyalty.LoyaltyPoints#
data-type, see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyobject#LoyaltyPoints
Show JSON schema
{ "title": "LoyaltyPoints", "description": "data-type,\nsee: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyobject#LoyaltyPoints", "type": "object", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Label" }, "balance": { "anyOf": [ { "$ref": "#/$defs/LoyaltyPointsBalance" }, { "type": "null" } ], "default": null }, "localizedLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "$defs": { "LocalizedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString", "properties": { "defaultValue": { "$ref": "#/$defs/TranslatedString" }, "translatedValues": { "default": [], "items": { "$ref": "#/$defs/TranslatedString" }, "title": "Translatedvalues", "type": "array" } }, "required": [ "defaultValue" ], "title": "LocalizedString", "type": "object" }, "LoyaltyPointsBalance": { "additionalProperties": false, "description": "data-type,\nsee: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyobject#LoyaltyPointsBalance", "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 } }, "title": "LoyaltyPointsBalance", "type": "object" }, "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" }, "TranslatedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString#translatedstring", "properties": { "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" } }, "title": "TranslatedString", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
- Fields:
- field balance: LoyaltyPointsBalance | None = None#
- field label: str | None = None#
- field localizedLabel: LocalizedString | None = None#