1"use strict";(self.webpackChunkelectronjs=self.webpackChunkelectronjs||[]).push([["26981"],{1672(e,t,n){n.r(t),n.d(t,{metadata:()=>s,default:()=>d,frontMatter:()=>c,contentTitle:()=>o,toc:()=>u,assets:()=>a});var s=JSON.parse('{"id":"latest/api/structures/payment-discount","title":"PaymentDiscount Object","description":"","source":"@site/docs/latest/api/structures/payment-discount.md","sourceDirName":"latest/api/structures","slug":"/latest/api/structures/payment-discount","permalink":"/docs/latest/api/structures/payment-discount","draft":false,"unlisted":false,"editUrl":"https://github.com/electron/electron/edit/main/docs/api/structures/payment-discount.md","tags":[],"version":"current","frontMatter":{"title":"PaymentDiscount Object","description":"","slug":"payment-discount","hide_title":false},"sidebar":"api","previous":{"title":"OpenExternalPermissionRequest Object extends `PermissionRequest`","permalink":"/docs/latest/api/structures/open-external-permission-request"},"next":{"title":"PermissionRequest Object","permalink":"/docs/latest/api/structures/permission-request"}}'),i=n(74848),r=n(28453);let c={title:"PaymentDiscount Object",description:"",slug:"payment-discount",hide_title:!1},o="PaymentDiscount Object",a={},u=[];function l(e){let t={code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"paymentdiscount-object",children:"PaymentDiscount Object"})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"identifier"})," string - A string used to uniquely identify a discount offer for a product."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"keyIdentifier"})," string - A string that identifies the key used to generate the signature."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"nonce"})," string - A universally unique ID (UUID) value that you define."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"signature"})," string - A UTF-8 string representing the properties of a specific discount offer, cryptographically signed."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"timestamp"})," number - The date and time of the signature's creation in milliseconds, formatted in Unix epoch time."]}),"\n"]})]})}function d(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},28453(e,t,n){n.d(t,{R:()=>c,x:()=>o});var s=n(96540);let i={},r=s.createContext(i);function c(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.