edutap.wallet_google.models.retail.LoyaltyClass#
- pydantic model edutap.wallet_google.models.retail.LoyaltyClass#
see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass
Show JSON schema
{ "title": "LoyaltyClass", "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass", "type": "object", "properties": { "id": { "title": "Id", "type": "string" }, "issuerName": { "title": "Issuername", "type": "string" }, "programName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Programname" }, "programLogo": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "wideProgramLogo": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "reviewStatus": { "allOf": [ { "$ref": "#/$defs/ReviewStatus" } ], "default": "REVIEW_STATUS_UNSPECIFIED" }, "accountNameLabel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Accountnamelabel" }, "accountIdLabel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Accountidlabel" }, "rewardsTierLabel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Rewardstierlabel" }, "rewardsTier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Rewardstier" }, "secondaryRewardsTierLabel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Secondaryrewardstierlabel" }, "secondaryRewardsTier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Secondaryrewardstier" }, "localizedIssuerName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedProgramName": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedAccountNameLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedAccountIdLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedRewardsTierLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedRewardsTier": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedSecondaryRewardsTierLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedSecondaryRewardsTier": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "discoverableProgram": { "anyOf": [ { "$ref": "#/$defs/DiscoverableProgram" }, { "type": "null" } ], "default": null }, "classTemplateInfo": { "anyOf": [ { "$ref": "#/$defs/ClassTemplateInfo" }, { "type": "null" } ], "default": null }, "messages": { "anyOf": [ { "items": { "$ref": "#/$defs/Message" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Messages" }, "homepageUri": { "anyOf": [ { "$ref": "#/$defs/Uri" }, { "type": "null" } ], "default": null }, "locations": { "anyOf": [ { "items": { "$ref": "#/$defs/LatLongPoint" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Locations" }, "review": { "anyOf": [ { "$ref": "#/$defs/Review" }, { "type": "null" } ], "default": null }, "imageModulesData": { "anyOf": [ { "items": { "$ref": "#/$defs/ImageModuleData" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Imagemodulesdata" }, "textModulesData": { "anyOf": [ { "items": { "$ref": "#/$defs/TextModuleData" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Textmodulesdata" }, "linksModuleData": { "anyOf": [ { "$ref": "#/$defs/LinksModuleData" }, { "type": "null" } ], "default": null }, "redemptionIssuers": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Redemptionissuers" }, "countryCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Countrycode" }, "heroImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "enableSmartTap": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "title": "Enablesmarttap" }, "hexBackgroundColor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Hexbackgroundcolor" }, "multipleDevicesAndHoldersAllowedStatus": { "allOf": [ { "$ref": "#/$defs/MultipleDevicesAndHoldersAllowedStatus" } ], "default": "STATUS_UNSPECIFIED" }, "callbackOptions": { "anyOf": [ { "$ref": "#/$defs/CallbackOptions" }, { "type": "null" } ] }, "securityAnimation": { "anyOf": [ { "$ref": "#/$defs/SecurityAnimation" }, { "type": "null" } ], "default": null }, "viewUnlockRequirement": { "allOf": [ { "$ref": "#/$defs/ViewUnlockRequirement" } ], "default": "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED" }, "version": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "deprecated", "title": "Version" }, "allowMultipleUsersPerObject": { "default": true, "description": "deprecated", "title": "Allowmultipleusersperobject", "type": "boolean" }, "infoModuleData": { "anyOf": [ { "$ref": "#/$defs/InfoModuleData" }, { "type": "null" } ], "default": null, "description": "deprecated" }, "wordMark": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null, "description": "deprecated" } }, "$defs": { "AnimationType": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/SecurityAnimation#animationtype", "enum": [ "ANIMATION_UNSPECIFIED", "FOIL_SHIMMER" ], "title": "AnimationType", "type": "string" }, "BarcodeSectionDetail": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#barcodesectiondetail", "properties": { "fieldSelector": { "$ref": "#/$defs/FieldSelector" } }, "required": [ "fieldSelector" ], "title": "BarcodeSectionDetail", "type": "object" }, "CallbackOptions": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/CallbackOptions", "properties": { "url": { "anyOf": [ { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "title": "Url" } }, "title": "CallbackOptions", "type": "object" }, "CardBarcodeSectionDetails": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardbarcodesectiondetails", "properties": { "firstTopDetail": { "anyOf": [ { "$ref": "#/$defs/BarcodeSectionDetail" }, { "type": "null" } ], "default": null }, "firstBottomDetail": { "anyOf": [ { "$ref": "#/$defs/BarcodeSectionDetail" }, { "type": "null" } ], "default": null }, "secondTopDetail": { "anyOf": [ { "$ref": "#/$defs/BarcodeSectionDetail" }, { "type": "null" } ], "default": null } }, "title": "CardBarcodeSectionDetails", "type": "object" }, "CardRowOneItem": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowoneitem", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowOneItem", "type": "object" }, "CardRowTemplateInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtemplateinfo", "properties": { "oneItem": { "anyOf": [ { "$ref": "#/$defs/CardRowOneItem" }, { "type": "null" } ], "default": null }, "twoItems": { "anyOf": [ { "$ref": "#/$defs/CardRowTwoItems" }, { "type": "null" } ], "default": null }, "threeItems": { "anyOf": [ { "$ref": "#/$defs/CardRowThreeItems" }, { "type": "null" } ], "default": null } }, "title": "CardRowTemplateInfo", "type": "object" }, "CardRowThreeItems": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowthreeitems", "properties": { "startItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "middleItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "endItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowThreeItems", "type": "object" }, "CardRowTwoItems": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtwoitems", "properties": { "startItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "endItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowTwoItems", "type": "object" }, "CardTemplateOverride": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardtemplateoverride", "properties": { "cardRowTemplateInfos": { "anyOf": [ { "items": { "$ref": "#/$defs/CardRowTemplateInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Cardrowtemplateinfos" } }, "title": "CardTemplateOverride", "type": "object" }, "ClassTemplateInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo", "properties": { "cardBarcodeSectionDetails": { "anyOf": [ { "$ref": "#/$defs/CardBarcodeSectionDetails" }, { "type": "null" } ], "default": null }, "cardTemplateOverride": { "anyOf": [ { "$ref": "#/$defs/CardTemplateOverride" }, { "type": "null" } ], "default": null }, "detailsTemplateOverride": { "anyOf": [ { "$ref": "#/$defs/DetailsTemplateOverride" }, { "type": "null" } ], "default": null }, "listTemplateOverride": { "anyOf": [ { "$ref": "#/$defs/ListTemplateOverride" }, { "type": "null" } ], "default": null } }, "title": "ClassTemplateInfo", "type": "object" }, "DateFormat": { "enum": [ "DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "DATE_ONLY", "TIME_ONLY", "DATE_TIME_YEAR", "DATE_YEAR" ], "title": "DateFormat", "type": "string" }, "DateTime": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/DateTime", "properties": { "date": { "format": "date-time", "title": "Date", "type": "string" } }, "required": [ "date" ], "title": "DateTime", "type": "object" }, "DetailsItemInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailsiteminfo", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "DetailsItemInfo", "type": "object" }, "DetailsTemplateOverride": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailstemplateoverride", "properties": { "detailsItemInfos": { "anyOf": [ { "items": { "$ref": "#/$defs/DetailsItemInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Detailsiteminfos" } }, "title": "DetailsTemplateOverride", "type": "object" }, "DiscoverableProgram": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#discoverableprogram", "properties": { "merchantSignupInfo": { "anyOf": [ { "$ref": "#/$defs/DiscoverableProgramMerchantSignupInfo" }, { "type": "null" } ], "default": null }, "merchantSigninInfo": { "anyOf": [ { "$ref": "#/$defs/DiscoverableProgramMerchantSigninInfo" }, { "type": "null" } ], "default": null }, "state": { "allOf": [ { "$ref": "#/$defs/State" } ], "default": "STATE_UNSPECIFIED" } }, "title": "DiscoverableProgram", "type": "object" }, "DiscoverableProgramMerchantSigninInfo": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#discoverableprogrammerchantsignininfo", "properties": { "signinWebsite": { "$ref": "#/$defs/Uri" } }, "required": [ "signinWebsite" ], "title": "DiscoverableProgramMerchantSigninInfo", "type": "object" }, "DiscoverableProgramMerchantSignupInfo": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#LoyaltyClass.DiscoverableProgramMerchantSigninInfo", "properties": { "signupWebsite": { "$ref": "#/$defs/Uri" }, "signupSharedDatas": { "items": { "$ref": "#/$defs/SharedDataType" }, "title": "Signupshareddatas", "type": "array" } }, "required": [ "signupWebsite", "signupSharedDatas" ], "title": "DiscoverableProgramMerchantSignupInfo", "type": "object" }, "FieldReference": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldreference", "properties": { "fieldPath": { "title": "Fieldpath", "type": "string" }, "dateFormat": { "anyOf": [ { "$ref": "#/$defs/DateFormat" }, { "type": "null" } ], "default": null } }, "required": [ "fieldPath" ], "title": "FieldReference", "type": "object" }, "FieldSelector": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldselector", "properties": { "fields": { "items": { "$ref": "#/$defs/FieldReference" }, "title": "Fields", "type": "array" } }, "required": [ "fields" ], "title": "FieldSelector", "type": "object" }, "FirstRowOption": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#firstrowoption", "properties": { "transitOption": { "anyOf": [ { "$ref": "#/$defs/TransitOption" }, { "type": "null" } ], "default": null }, "fieldOption": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null } }, "title": "FirstRowOption", "type": "object" }, "Image": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Image", "properties": { "sourceUri": { "$ref": "#/$defs/ImageUri" }, "contentDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "required": [ "sourceUri" ], "title": "Image", "type": "object" }, "ImageModuleData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ImageModuleData", "properties": { "mainImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "title": "ImageModuleData", "type": "object" }, "ImageUri": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Image#imageuri", "properties": { "uri": { "format": "uri", "minLength": 1, "title": "Uri", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "localizedDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "required": [ "uri" ], "title": "ImageUri", "type": "object" }, "InfoModuleData": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData", "properties": { "labelValueRows": { "items": { "$ref": "#/$defs/LabelValueRow" }, "title": "Labelvaluerows", "type": "array" }, "showLastUpdatedTime": { "default": false, "description": "deprecated", "title": "Showlastupdatedtime", "type": "boolean" } }, "required": [ "labelValueRows" ], "title": "InfoModuleData", "type": "object" }, "LabelValue": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData#labelvalue", "properties": { "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Label" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" }, "localizedLabel": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedValue": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "LabelValue", "type": "object" }, "LabelValueRow": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData#labelvaluerow", "properties": { "columns": { "anyOf": [ { "items": { "$ref": "#/$defs/LabelValue" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Columns" } }, "title": "LabelValueRow", "type": "object" }, "LatLongPoint": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/LatLongPoint", "properties": { "latitude": { "maximum": 90.0, "minimum": -90.0, "title": "Latitude", "type": "number" }, "longitude": { "maximum": 180.0, "minimum": -180.0, "title": "Longitude", "type": "number" } }, "required": [ "latitude", "longitude" ], "title": "LatLongPoint", "type": "object" }, "LinksModuleData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LinksModuleData", "properties": { "uris": { "anyOf": [ { "items": { "$ref": "#/$defs/Uri" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Uris" } }, "title": "LinksModuleData", "type": "object" }, "ListTemplateOverride": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#listtemplateoverride", "properties": { "firstRowOption": { "anyOf": [ { "$ref": "#/$defs/FirstRowOption" }, { "type": "null" } ], "default": null }, "secondRowOption": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "thirdRowOption": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null, "description": "deprecated" } }, "title": "ListTemplateOverride", "type": "object" }, "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" }, "Message": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Message", "properties": { "header": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Header" }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Body" }, "displayInterval": { "anyOf": [ { "$ref": "#/$defs/TimeInterval" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" }, "messageType": { "allOf": [ { "$ref": "#/$defs/MessageType" } ], "default": "MESSAGE_TYPE_UNSPECIFIED" }, "localizedHeader": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedBody": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "title": "Message", "type": "object" }, "MessageType": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/Message#messagetype", "enum": [ "MESSAGE_TYPE_UNSPECIFIED", "TEXT", "EXPIRATION_NOTIFICATION" ], "title": "MessageType", "type": "string" }, "MultipleDevicesAndHoldersAllowedStatus": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/MultipleDevicesAndHoldersAllowedStatus", "enum": [ "STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "ONE_USER_ALL_DEVICES", "ONE_USER_ONE_DEVICE" ], "title": "MultipleDevicesAndHoldersAllowedStatus", "type": "string" }, "PredefinedItem": { "description": "see: https://developers.google.com/wallet/retail/offers/rest/v1/ClassTemplateInfo#predefineditem", "enum": [ "PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER" ], "title": "PredefinedItem", "type": "string" }, "Review": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/Review", "properties": { "comments": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Comments" } }, "title": "Review", "type": "object" }, "ReviewStatus": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/ReviewStatus", "enum": [ "REVIEW_STATUS_UNSPECIFIED", "UNDER_REVIEW", "APPROVED", "REJECTED", "DRAFT" ], "title": "ReviewStatus", "type": "string" }, "SecurityAnimation": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/SecurityAnimation", "properties": { "animationType": { "allOf": [ { "$ref": "#/$defs/AnimationType" } ], "default": "ANIMATION_UNSPECIFIED" } }, "title": "SecurityAnimation", "type": "object" }, "SharedDataType": { "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#shareddatatype", "enum": [ "SHARED_DATA_TYPE_UNSPECIFIED", "FIRST_NAME", "LAST_NAME", "STREET_ADDRESS", "ADDRESS_LINE_1", "ADDRESS_LINE_2", "ADDRESS_LINE_3", "CITY", "STATE", "ZIPCODE", "COUNTRY", "EMAIL", "PHONE" ], "title": "SharedDataType", "type": "string" }, "State": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/State\n https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/State", "enum": [ "STATE_UNSPECIFIED", "ACTIVE", "COMPLETED", "EXPIRED", "INACTIVE" ], "title": "State", "type": "string" }, "TemplateItem": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#templateitem", "properties": { "firstValue": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "secondValue": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "predefinedItem": { "anyOf": [ { "$ref": "#/$defs/PredefinedItem" }, { "type": "null" } ], "default": null } }, "title": "TemplateItem", "type": "object" }, "TextModuleData": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/TextModuleData", "properties": { "header": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Header" }, "body": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Body" }, "localizedHeader": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "localizedBody": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "title": "TextModuleData", "type": "object" }, "TimeInterval": { "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/TimeInterval", "properties": { "start": { "$ref": "#/$defs/DateTime" }, "end": { "$ref": "#/$defs/DateTime" } }, "required": [ "start", "end" ], "title": "TimeInterval", "type": "object" }, "TransitOption": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#transitoption", "enum": [ "TRANSIT_OPTION_UNSPECIFIED", "ORIGIN_AND_DESTINATION_NAMES", "ORIGIN_AND_DESTINATION_CODES", "ORIGIN_NAME" ], "title": "TransitOption", "type": "string" }, "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" }, "Uri": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Uri", "properties": { "uri": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "string" }, { "type": "null" } ], "default": null, "title": "Uri" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "localizedDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "title": "Uri", "type": "object" }, "ViewUnlockRequirement": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ViewUnlockRequirement", "enum": [ "VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW" ], "title": "ViewUnlockRequirement", "type": "string" } }, "required": [ "id", "issuerName", "callbackOptions" ] }
- Fields:
callbackOptions (edutap.wallet_google.models.primitives.CallbackOptions | None)
discoverableProgram (edutap.wallet_google.models.primitives.retail.DiscoverableProgram | None)
heroImage (edutap.wallet_google.models.primitives.Image | None)
homepageUri (edutap.wallet_google.models.primitives.Uri | None)
imageModulesData (list[edutap.wallet_google.models.primitives.data.ImageModuleData] | None)
infoModuleData (edutap.wallet_google.models.primitives.data.InfoModuleData | None)
linksModuleData (edutap.wallet_google.models.primitives.data.LinksModuleData | None)
localizedIssuerName (edutap.wallet_google.models.primitives.localized_string.LocalizedString | None)
locations (list[edutap.wallet_google.models.primitives.location.LatLongPoint] | None)
messages (list[edutap.wallet_google.models.primitives.notification.Message] | None)
programLogo (edutap.wallet_google.models.primitives.Image | None)
review (edutap.wallet_google.models.primitives.review.Review | None)
reviewStatus (edutap.wallet_google.models.primitives.enums.ReviewStatus)
securityAnimation (edutap.wallet_google.models.primitives.SecurityAnimation | None)
textModulesData (list[edutap.wallet_google.models.primitives.data.TextModuleData] | None)
viewUnlockRequirement (edutap.wallet_google.models.primitives.enums.ViewUnlockRequirement)
wideProgramLogo (edutap.wallet_google.models.primitives.Image | None)
wordMark (edutap.wallet_google.models.primitives.Image | None)
- field accountIdLabel: str | None = None#
- field accountNameLabel: str | None = None#
- field allowMultipleUsersPerObject: bool = True#
deprecated
- field callbackOptions: CallbackOptions | None [Required]#
- field classTemplateInfo: ClassTemplateInfo | None = None#
- field countryCode: str | None = None#
- field discoverableProgram: DiscoverableProgram | None = None#
- field enableSmartTap: bool | None = False#
- field hexBackgroundColor: str | None = None#
- field imageModulesData: list[ImageModuleData] | None = None#
- field infoModuleData: InfoModuleData | None = None#
deprecated
- field issuerName: str [Required]#
- field linksModuleData: LinksModuleData | None = None#
- field localizedAccountIdLabel: LocalizedString | None = None#
- field localizedAccountNameLabel: LocalizedString | None = None#
- field localizedIssuerName: LocalizedString | None = None#
- field localizedProgramName: LocalizedString | None = None#
- field localizedRewardsTier: LocalizedString | None = None#
- field localizedRewardsTierLabel: LocalizedString | None = None#
- field localizedSecondaryRewardsTier: LocalizedString | None = None#
- field localizedSecondaryRewardsTierLabel: LocalizedString | None = None#
- field locations: list[LatLongPoint] | None = None#
- field multipleDevicesAndHoldersAllowedStatus: MultipleDevicesAndHoldersAllowedStatus = MultipleDevicesAndHoldersAllowedStatus.STATUS_UNSPECIFIED#
- field programName: str | None = None#
- field redemptionIssuers: list[str] | None = None#
- field reviewStatus: ReviewStatus = ReviewStatus.REVIEW_STATUS_UNSPECIFIED#
- field rewardsTier: str | None = None#
- field rewardsTierLabel: str | None = None#
- field secondaryRewardsTier: str | None = None#
- field secondaryRewardsTierLabel: str | None = None#
- field securityAnimation: SecurityAnimation | None = None#
- field textModulesData: list[TextModuleData] | None = None#
- field version: str | None = None#
deprecated
- field viewUnlockRequirement: ViewUnlockRequirement = ViewUnlockRequirement.VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED#