edutap.wallet_google.models.datatypes.retail.DiscoverableProgram#

pydantic model edutap.wallet_google.models.datatypes.retail.DiscoverableProgram#

see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#discoverableprogram

Show JSON schema
{
   "title": "DiscoverableProgram",
   "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#discoverableprogram",
   "type": "object",
   "properties": {
      "merchantSignupInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/DiscoverableProgramMerchantSignupInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "merchantSigninInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/DiscoverableProgramMerchantSigninInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "state": {
         "$ref": "#/$defs/State",
         "default": "STATE_UNSPECIFIED"
      }
   },
   "$defs": {
      "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"
      },
      "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"
      },
      "SharedDataType": {
         "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#shareddatatype",
         "enum": [
            "sharedDataTypeUnspecified",
            "SHARED_DATA_TYPE_UNSPECIFIED",
            "firstName",
            "FIRST_NAME",
            "lastName",
            "LAST_NAME",
            "streetAddress",
            "STREET_ADDRESS",
            "addressLine1",
            "ADDRESS_LINE_1",
            "addressLine2",
            "ADDRESS_LINE_2",
            "addressLine3",
            "ADDRESS_LINE_3",
            "city",
            "CITY",
            "state",
            "STATE",
            "zipcode",
            "ZIPCODE",
            "country",
            "COUNTRY",
            "email",
            "EMAIL",
            "phone",
            "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": [
            "stateUnspecified",
            "STATE_UNSPECIFIED",
            "active",
            "ACTIVE",
            "completed",
            "COMPLETED",
            "expired",
            "EXPIRED",
            "inactive",
            "INACTIVE"
         ],
         "title": "State",
         "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"
      }
   }
}

Fields:
field merchantSigninInfo: DiscoverableProgramMerchantSigninInfo | None = None#
field merchantSignupInfo: DiscoverableProgramMerchantSignupInfo | None = None#
field state: State = State.STATE_UNSPECIFIED#