parse for pop_allow_overpay
This commit is contained in:
parent
80637260f3
commit
7c173ae292
@ -606,6 +606,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
||||
if (k->value.IsInt()) {
|
||||
this->currentPaymentOptions.last().pop_minus_steps = k->value.GetInt();
|
||||
}
|
||||
} else if (strcmp(inner_obj_name, "pop_allow_overpay") == 0) {
|
||||
if (k->value.IsBool()) {
|
||||
this->currentPaymentOptions.last().pop_allow_overpay = k->value.GetBool();
|
||||
}
|
||||
} else if (strcmp(inner_obj_name, "pop_payment_method_id") == 0) {
|
||||
this->currentPaymentOptions.last().pop_payment_method_id = k->value.GetInt();
|
||||
} else if (strcmp(inner_obj_name, "pop_day_end_time") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user