protobuf-platform 1.2.709 → 1.2.710
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payment/payment.proto +3 -1
- package/payment/payment_pb.js +49 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -926,9 +926,11 @@ message UserPaymentMethodItem {
|
|
|
926
926
|
optional int32 is_popular = 27;
|
|
927
927
|
optional int32 is_new = 28;
|
|
928
928
|
optional bool allow_zero_amount = 29;
|
|
929
|
-
// True only when this method configuration allows
|
|
929
|
+
// True only when this method configuration allows persisting a new deposit card.
|
|
930
930
|
optional bool save_card = 30;
|
|
931
931
|
repeated SavedDepositCard saved_cards = 31;
|
|
932
|
+
// Most recently confirmed successful saved card for this method. Never a PAN.
|
|
933
|
+
optional string saved_card_id = 32;
|
|
932
934
|
}
|
|
933
935
|
message UserPaymentMethodsResponse {
|
|
934
936
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -38708,7 +38708,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
38708
38708
|
allowZeroAmount: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
|
|
38709
38709
|
saveCard: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
|
|
38710
38710
|
savedCardsList: jspb.Message.toObjectList(msg.getSavedCardsList(),
|
|
38711
|
-
proto.payment.SavedDepositCard.toObject, includeInstance)
|
|
38711
|
+
proto.payment.SavedDepositCard.toObject, includeInstance),
|
|
38712
|
+
savedCardId: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
38712
38713
|
};
|
|
38713
38714
|
|
|
38714
38715
|
if (includeInstance) {
|
|
@@ -38871,6 +38872,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
38871
38872
|
reader.readMessage(value,proto.payment.SavedDepositCard.deserializeBinaryFromReader);
|
|
38872
38873
|
msg.addSavedCards(value);
|
|
38873
38874
|
break;
|
|
38875
|
+
case 32:
|
|
38876
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38877
|
+
msg.setSavedCardId(value);
|
|
38878
|
+
break;
|
|
38874
38879
|
default:
|
|
38875
38880
|
reader.skipField();
|
|
38876
38881
|
break;
|
|
@@ -39119,6 +39124,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
39119
39124
|
proto.payment.SavedDepositCard.serializeBinaryToWriter
|
|
39120
39125
|
);
|
|
39121
39126
|
}
|
|
39127
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 32));
|
|
39128
|
+
if (f != null) {
|
|
39129
|
+
writer.writeString(
|
|
39130
|
+
32,
|
|
39131
|
+
f
|
|
39132
|
+
);
|
|
39133
|
+
}
|
|
39122
39134
|
};
|
|
39123
39135
|
|
|
39124
39136
|
|
|
@@ -40062,6 +40074,42 @@ proto.payment.UserPaymentMethodItem.prototype.clearSavedCardsList = function() {
|
|
|
40062
40074
|
};
|
|
40063
40075
|
|
|
40064
40076
|
|
|
40077
|
+
/**
|
|
40078
|
+
* optional string saved_card_id = 32;
|
|
40079
|
+
* @return {string}
|
|
40080
|
+
*/
|
|
40081
|
+
proto.payment.UserPaymentMethodItem.prototype.getSavedCardId = function() {
|
|
40082
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
40083
|
+
};
|
|
40084
|
+
|
|
40085
|
+
|
|
40086
|
+
/**
|
|
40087
|
+
* @param {string} value
|
|
40088
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
40089
|
+
*/
|
|
40090
|
+
proto.payment.UserPaymentMethodItem.prototype.setSavedCardId = function(value) {
|
|
40091
|
+
return jspb.Message.setField(this, 32, value);
|
|
40092
|
+
};
|
|
40093
|
+
|
|
40094
|
+
|
|
40095
|
+
/**
|
|
40096
|
+
* Clears the field making it undefined.
|
|
40097
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
40098
|
+
*/
|
|
40099
|
+
proto.payment.UserPaymentMethodItem.prototype.clearSavedCardId = function() {
|
|
40100
|
+
return jspb.Message.setField(this, 32, undefined);
|
|
40101
|
+
};
|
|
40102
|
+
|
|
40103
|
+
|
|
40104
|
+
/**
|
|
40105
|
+
* Returns whether this field is set.
|
|
40106
|
+
* @return {boolean}
|
|
40107
|
+
*/
|
|
40108
|
+
proto.payment.UserPaymentMethodItem.prototype.hasSavedCardId = function() {
|
|
40109
|
+
return jspb.Message.getField(this, 32) != null;
|
|
40110
|
+
};
|
|
40111
|
+
|
|
40112
|
+
|
|
40065
40113
|
|
|
40066
40114
|
/**
|
|
40067
40115
|
* List of repeated fields within this message type.
|