在schema.org語法中創建訂單時,我有paymentMethod
,其值爲http://purl.org/goodrelations/v1#PayPal
或http://purl.org/goodrelations/v1#DirectDebit
,但對於卡片,我不想指定特定類型的卡片(Visa,American Express等)。我可以使用「PaymentMethodCreditCard」作爲paymentMethod嗎?
¿我應該使用http://purl.org/goodrelations/v1#PaymentMethodCreditCard
作爲值嗎?
例如在JSON-LD:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Order",
"merchant": {
"@type": "Organization",
"name": "My Company"
},
"orderNumber": "546846486",
"orderStatus": "http://schema.org/OrderDelivered",
"paymentMethod": "http://purl.org/goodrelations/v1#PaymentMethodCreditCard",
"priceCurrency": "EUR",
"price": "125.48",
"acceptedOffer": {
"@type": "Offer",
"itemOffered": {
"@type": "Product",
"name": "Towel 42"
"price": "125.48",
"priceCurrency": "EUR",
"eligibleQuantity": {
"@type": "QuantitativeValue",
"value": "1"
}
}
}
</script>