Google Wallet API: offerclass. API for issuers to save and manage Google Wallet Objects. See: https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass
Google Wallet API: offerclass. API for issuers to save and manage Google Wallet Objects. See: https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass
(addmessage$ auth parameters body)https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/addmessage
Required parameters: resourceId
Optional parameters: none
Body:
{:message {:body string, :messageType string, :header string, :id string, :kind string, :displayInterval TimeInterval, :localizedHeader LocalizedString, :localizedBody LocalizedString}}
Adds a message to the offer class referenced by the given class ID.
https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/addmessage
Required parameters: resourceId
Optional parameters: none
Body:
{:message {:body string,
:messageType string,
:header string,
:id string,
:kind string,
:displayInterval TimeInterval,
:localizedHeader LocalizedString,
:localizedBody LocalizedString}}
Adds a message to the offer class referenced by the given class ID.(get$ auth parameters)https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/get
Required parameters: resourceId
Optional parameters: none
Returns the offer class with the given class ID.
https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/get Required parameters: resourceId Optional parameters: none Returns the offer class with the given class ID.
(insert$ auth parameters body)https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/insert
Required parameters: none
Optional parameters: none
Body:
{:helpUri {:kind string, :uri string, :description string, :localizedDescription LocalizedString, :id string}, :wordMark {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :reviewStatus string, :localizedFinePrint {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :textModulesData [{:id string, :localizedBody LocalizedString, :localizedHeader LocalizedString, :body string, :header string}], :issuerName string, :localizedTitle {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :redemptionChannel string, :securityAnimation {:animationType string}, :multipleDevicesAndHoldersAllowedStatus string, :localizedProvider {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :homepageUri {:kind string, :uri string, :description string, :localizedDescription LocalizedString, :id string}, :titleImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :callbackOptions {:url string, :updateRequestUrl string}, :title string, :linksModuleData {:uris [Uri]}, :imageModulesData [{:mainImage Image, :id string}], :locations [{:latitude number, :kind string, :longitude number}], :allowMultipleUsersPerObject boolean, :hexBackgroundColor string, :messages [{:body string, :messageType string, :header string, :id string, :kind string, :displayInterval TimeInterval, :localizedHeader LocalizedString, :localizedBody LocalizedString}], :localizedIssuerName {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :details string, :redemptionIssuers [string], :review {:comments string}, :localizedShortTitle {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :wideTitleImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :id string, :kind string, :finePrint string, :classTemplateInfo {:listTemplateOverride ListTemplateOverride, :detailsTemplateOverride DetailsTemplateOverride, :cardBarcodeSectionDetails CardBarcodeSectionDetails, :cardTemplateOverride CardTemplateOverride}, :shortTitle string, :enableSmartTap boolean, :version string, :viewUnlockRequirement string, :infoModuleData {:labelValueRows [LabelValueRow], :showLastUpdateTime boolean}, :provider string, :heroImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :localizedDetails {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :countryCode string}
Inserts an offer class with the given ID and properties.
https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/insert
Required parameters: none
Optional parameters: none
Body:
{:helpUri {:kind string,
:uri string,
:description string,
:localizedDescription LocalizedString,
:id string},
:wordMark {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:reviewStatus string,
:localizedFinePrint {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:textModulesData [{:id string,
:localizedBody LocalizedString,
:localizedHeader LocalizedString,
:body string,
:header string}],
:issuerName string,
:localizedTitle {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:redemptionChannel string,
:securityAnimation {:animationType string},
:multipleDevicesAndHoldersAllowedStatus string,
:localizedProvider {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:homepageUri {:kind string,
:uri string,
:description string,
:localizedDescription LocalizedString,
:id string},
:titleImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:callbackOptions {:url string, :updateRequestUrl string},
:title string,
:linksModuleData {:uris [Uri]},
:imageModulesData [{:mainImage Image, :id string}],
:locations [{:latitude number, :kind string, :longitude number}],
:allowMultipleUsersPerObject boolean,
:hexBackgroundColor string,
:messages [{:body string,
:messageType string,
:header string,
:id string,
:kind string,
:displayInterval TimeInterval,
:localizedHeader LocalizedString,
:localizedBody LocalizedString}],
:localizedIssuerName {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:details string,
:redemptionIssuers [string],
:review {:comments string},
:localizedShortTitle {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:wideTitleImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:id string,
:kind string,
:finePrint string,
:classTemplateInfo {:listTemplateOverride ListTemplateOverride,
:detailsTemplateOverride DetailsTemplateOverride,
:cardBarcodeSectionDetails CardBarcodeSectionDetails,
:cardTemplateOverride CardTemplateOverride},
:shortTitle string,
:enableSmartTap boolean,
:version string,
:viewUnlockRequirement string,
:infoModuleData {:labelValueRows [LabelValueRow],
:showLastUpdateTime boolean},
:provider string,
:heroImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:localizedDetails {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:countryCode string}
Inserts an offer class with the given ID and properties.(list$ auth parameters)https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/list
Required parameters: none
Optional parameters: issuerId, token, maxResults
Returns a list of all offer classes for a given issuer ID.
https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/list Required parameters: none Optional parameters: issuerId, token, maxResults Returns a list of all offer classes for a given issuer ID.
(patch$ auth parameters body)https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/patch
Required parameters: resourceId
Optional parameters: none
Body:
{:helpUri {:kind string, :uri string, :description string, :localizedDescription LocalizedString, :id string}, :wordMark {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :reviewStatus string, :localizedFinePrint {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :textModulesData [{:id string, :localizedBody LocalizedString, :localizedHeader LocalizedString, :body string, :header string}], :issuerName string, :localizedTitle {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :redemptionChannel string, :securityAnimation {:animationType string}, :multipleDevicesAndHoldersAllowedStatus string, :localizedProvider {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :homepageUri {:kind string, :uri string, :description string, :localizedDescription LocalizedString, :id string}, :titleImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :callbackOptions {:url string, :updateRequestUrl string}, :title string, :linksModuleData {:uris [Uri]}, :imageModulesData [{:mainImage Image, :id string}], :locations [{:latitude number, :kind string, :longitude number}], :allowMultipleUsersPerObject boolean, :hexBackgroundColor string, :messages [{:body string, :messageType string, :header string, :id string, :kind string, :displayInterval TimeInterval, :localizedHeader LocalizedString, :localizedBody LocalizedString}], :localizedIssuerName {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :details string, :redemptionIssuers [string], :review {:comments string}, :localizedShortTitle {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :wideTitleImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :id string, :kind string, :finePrint string, :classTemplateInfo {:listTemplateOverride ListTemplateOverride, :detailsTemplateOverride DetailsTemplateOverride, :cardBarcodeSectionDetails CardBarcodeSectionDetails, :cardTemplateOverride CardTemplateOverride}, :shortTitle string, :enableSmartTap boolean, :version string, :viewUnlockRequirement string, :infoModuleData {:labelValueRows [LabelValueRow], :showLastUpdateTime boolean}, :provider string, :heroImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :localizedDetails {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :countryCode string}
Updates the offer class referenced by the given class ID. This method supports patch semantics.
https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/patch
Required parameters: resourceId
Optional parameters: none
Body:
{:helpUri {:kind string,
:uri string,
:description string,
:localizedDescription LocalizedString,
:id string},
:wordMark {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:reviewStatus string,
:localizedFinePrint {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:textModulesData [{:id string,
:localizedBody LocalizedString,
:localizedHeader LocalizedString,
:body string,
:header string}],
:issuerName string,
:localizedTitle {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:redemptionChannel string,
:securityAnimation {:animationType string},
:multipleDevicesAndHoldersAllowedStatus string,
:localizedProvider {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:homepageUri {:kind string,
:uri string,
:description string,
:localizedDescription LocalizedString,
:id string},
:titleImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:callbackOptions {:url string, :updateRequestUrl string},
:title string,
:linksModuleData {:uris [Uri]},
:imageModulesData [{:mainImage Image, :id string}],
:locations [{:latitude number, :kind string, :longitude number}],
:allowMultipleUsersPerObject boolean,
:hexBackgroundColor string,
:messages [{:body string,
:messageType string,
:header string,
:id string,
:kind string,
:displayInterval TimeInterval,
:localizedHeader LocalizedString,
:localizedBody LocalizedString}],
:localizedIssuerName {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:details string,
:redemptionIssuers [string],
:review {:comments string},
:localizedShortTitle {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:wideTitleImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:id string,
:kind string,
:finePrint string,
:classTemplateInfo {:listTemplateOverride ListTemplateOverride,
:detailsTemplateOverride DetailsTemplateOverride,
:cardBarcodeSectionDetails CardBarcodeSectionDetails,
:cardTemplateOverride CardTemplateOverride},
:shortTitle string,
:enableSmartTap boolean,
:version string,
:viewUnlockRequirement string,
:infoModuleData {:labelValueRows [LabelValueRow],
:showLastUpdateTime boolean},
:provider string,
:heroImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:localizedDetails {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:countryCode string}
Updates the offer class referenced by the given class ID. This method supports patch semantics.(update$ auth parameters body)https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/update
Required parameters: resourceId
Optional parameters: none
Body:
{:helpUri {:kind string, :uri string, :description string, :localizedDescription LocalizedString, :id string}, :wordMark {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :reviewStatus string, :localizedFinePrint {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :textModulesData [{:id string, :localizedBody LocalizedString, :localizedHeader LocalizedString, :body string, :header string}], :issuerName string, :localizedTitle {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :redemptionChannel string, :securityAnimation {:animationType string}, :multipleDevicesAndHoldersAllowedStatus string, :localizedProvider {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :homepageUri {:kind string, :uri string, :description string, :localizedDescription LocalizedString, :id string}, :titleImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :callbackOptions {:url string, :updateRequestUrl string}, :title string, :linksModuleData {:uris [Uri]}, :imageModulesData [{:mainImage Image, :id string}], :locations [{:latitude number, :kind string, :longitude number}], :allowMultipleUsersPerObject boolean, :hexBackgroundColor string, :messages [{:body string, :messageType string, :header string, :id string, :kind string, :displayInterval TimeInterval, :localizedHeader LocalizedString, :localizedBody LocalizedString}], :localizedIssuerName {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :details string, :redemptionIssuers [string], :review {:comments string}, :localizedShortTitle {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :wideTitleImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :id string, :kind string, :finePrint string, :classTemplateInfo {:listTemplateOverride ListTemplateOverride, :detailsTemplateOverride DetailsTemplateOverride, :cardBarcodeSectionDetails CardBarcodeSectionDetails, :cardTemplateOverride CardTemplateOverride}, :shortTitle string, :enableSmartTap boolean, :version string, :viewUnlockRequirement string, :infoModuleData {:labelValueRows [LabelValueRow], :showLastUpdateTime boolean}, :provider string, :heroImage {:contentDescription LocalizedString, :kind string, :sourceUri ImageUri}, :localizedDetails {:defaultValue TranslatedString, :translatedValues [TranslatedString], :kind string}, :countryCode string}
Updates the offer class referenced by the given class ID.
https://developers.google.com/pay/passesapi/reference/rest/v1/offerclass/update
Required parameters: resourceId
Optional parameters: none
Body:
{:helpUri {:kind string,
:uri string,
:description string,
:localizedDescription LocalizedString,
:id string},
:wordMark {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:reviewStatus string,
:localizedFinePrint {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:textModulesData [{:id string,
:localizedBody LocalizedString,
:localizedHeader LocalizedString,
:body string,
:header string}],
:issuerName string,
:localizedTitle {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:redemptionChannel string,
:securityAnimation {:animationType string},
:multipleDevicesAndHoldersAllowedStatus string,
:localizedProvider {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:homepageUri {:kind string,
:uri string,
:description string,
:localizedDescription LocalizedString,
:id string},
:titleImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:callbackOptions {:url string, :updateRequestUrl string},
:title string,
:linksModuleData {:uris [Uri]},
:imageModulesData [{:mainImage Image, :id string}],
:locations [{:latitude number, :kind string, :longitude number}],
:allowMultipleUsersPerObject boolean,
:hexBackgroundColor string,
:messages [{:body string,
:messageType string,
:header string,
:id string,
:kind string,
:displayInterval TimeInterval,
:localizedHeader LocalizedString,
:localizedBody LocalizedString}],
:localizedIssuerName {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:details string,
:redemptionIssuers [string],
:review {:comments string},
:localizedShortTitle {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:wideTitleImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:id string,
:kind string,
:finePrint string,
:classTemplateInfo {:listTemplateOverride ListTemplateOverride,
:detailsTemplateOverride DetailsTemplateOverride,
:cardBarcodeSectionDetails CardBarcodeSectionDetails,
:cardTemplateOverride CardTemplateOverride},
:shortTitle string,
:enableSmartTap boolean,
:version string,
:viewUnlockRequirement string,
:infoModuleData {:labelValueRows [LabelValueRow],
:showLastUpdateTime boolean},
:provider string,
:heroImage {:contentDescription LocalizedString,
:kind string,
:sourceUri ImageUri},
:localizedDetails {:defaultValue TranslatedString,
:translatedValues [TranslatedString],
:kind string},
:countryCode string}
Updates the offer class referenced by the given class ID.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |