ParseJson():
Add parsing of "pop_apply_carry_over_to_ticket_endtime".
This commit is contained in:
parent
9dd0108731
commit
f9cc3af473
@ -984,6 +984,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
|||||||
if (k->value.IsBool()) {
|
if (k->value.IsBool()) {
|
||||||
this->currentPaymentOptions.last().pop_allow_overpay = k->value.GetBool();
|
this->currentPaymentOptions.last().pop_allow_overpay = k->value.GetBool();
|
||||||
}
|
}
|
||||||
|
} else if (strcmp(inner_obj_name, "pop_apply_carry_over_to_ticket_endtime") == 0) {
|
||||||
|
if (k->value.IsBool()) {
|
||||||
|
this->currentPaymentOptions.last().pop_apply_carry_over_to_ticket_endtime = k->value.GetBool();
|
||||||
|
}
|
||||||
} else if (strcmp(inner_obj_name, "pop_payment_method_id") == 0) {
|
} else if (strcmp(inner_obj_name, "pop_payment_method_id") == 0) {
|
||||||
this->currentPaymentOptions.last().pop_payment_method_id = k->value.GetInt();
|
this->currentPaymentOptions.last().pop_payment_method_id = k->value.GetInt();
|
||||||
} else if (strcmp(inner_obj_name, "pop_day_end_time") == 0) {
|
} else if (strcmp(inner_obj_name, "pop_day_end_time") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user