lnrpc: clarify proto documentation for Invoice

This commit is contained in:
Tommy Volk
2022-05-14 18:44:11 +00:00
committed by yyforyongyu
parent 91c0a19807
commit 372333fd2b
4 changed files with 12 additions and 10 deletions

View File

@@ -469,18 +469,17 @@
},
"settled": {
"type": "boolean",
"description": "The field is deprecated. Use the state field instead (compare to SETTLED).",
"title": "Whether this invoice has been fulfilled"
"description": "Whether this invoice has been fulfilled.\n\nThe field is deprecated. Use the state field instead (compare to SETTLED)."
},
"creation_date": {
"type": "string",
"format": "int64",
"description": "When this invoice was created.\nNote: Output only, don't specify for creating an invoice."
"description": "When this invoice was created.\nMeasured in seconds since the unix epoch.\nNote: Output only, don't specify for creating an invoice."
},
"settle_date": {
"type": "string",
"format": "int64",
"description": "When this invoice was settled.\nNote: Output only, don't specify for creating an invoice."
"description": "When this invoice was settled.\nMeasured in seconds since the unix epoch.\nNote: Output only, don't specify for creating an invoice."
},
"payment_request": {
"type": "string",