summaryrefslogtreecommitdiff
path: root/src/include/taler_merchant_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-05-18 15:32:08 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-05-18 15:32:08 +0200
commitdb344e1a2abbe932ec0efb67ab6ff5995c31e598 (patch)
tree3a5e4fa7bf3b93367d01d853996d0be72273a99a /src/include/taler_merchant_service.h
parent549e70fbc14fc18db7f5fe9266e91b7d13818671 (diff)
downloadmerchant-db344e1a2abbe932ec0efb67ab6ff5995c31e598.tar.gz
merchant-db344e1a2abbe932ec0efb67ab6ff5995c31e598.tar.bz2
merchant-db344e1a2abbe932ec0efb67ab6ff5995c31e598.zip
rename .success to .ok for consistency
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r--src/include/taler_merchant_service.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 15d83fce..33ef033f 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -425,7 +425,7 @@ struct TALER_MERCHANT_InstancesGetResponse
* array with instance information of length @e iis_length
*/
const struct TALER_MERCHANT_InstanceInformation *iis;
- } success;
+ } ok;
} details;
};
@@ -823,7 +823,7 @@ struct TALER_MERCHANT_InstanceGetResponse
*/
struct TALER_MERCHANT_InstanceDetails details;
- } success;
+ } ok;
}
details;
};
@@ -1003,7 +1003,7 @@ struct TALER_MERCHANT_GetProductsResponse
* array of products the requested instance offers
*/
const struct TALER_MERCHANT_InventoryEntry *products;
- } success;
+ } ok;
} details;
};
@@ -1732,7 +1732,7 @@ struct TALER_MERCHANT_OrderWalletGetResponse
*/
struct TALER_Amount refund_amount;
- } success;
+ } ok;
/**
* Response if a payment is required from the client.
@@ -2104,7 +2104,7 @@ struct TALER_MERCHANT_OrderStatusResponse
} details;
- } success;
+ } ok;
} details;
};
@@ -2315,7 +2315,7 @@ struct TALER_MERCHANT_PayResponse
*/
const char *pos_confirmation;
- } success;
+ } ok;
// TODO: might want to return further details on errors,
// especially refund signatures on double-pay conflict.
@@ -2553,7 +2553,7 @@ struct TALER_MERCHANT_OrderPaidResponse
* refunded.
*/
bool refunded;
- } success;
+ } ok;
} details;
};
@@ -3745,7 +3745,7 @@ struct TALER_MERCHANT_TipWalletGetResponse
* total amount still available for the tip
*/
struct TALER_Amount amount_remaining;
- } success;
+ } ok;
} details;
};
@@ -3876,7 +3876,7 @@ struct TALER_MERCHANT_TipStatusResponse
* array of pickup operations performed for this tip
*/
struct TALER_MERCHANT_PickupDetail *pickups;
- } success;
+ } ok;
} details;
@@ -4062,7 +4062,7 @@ struct TALER_MERCHANT_PickupDetails
* Length of the @e pcds array.
*/
unsigned int num_sigs;
- } success;
+ } ok;
} details;
@@ -4495,7 +4495,7 @@ struct TALER_MERCHANT_TemplateGetResponse
*/
enum TALER_MerchantConfirmationAlgorithm mca;
- } success;
+ } ok;
} details;