CheckoutPageConfig.fromJson constructor

CheckoutPageConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CheckoutPageConfig.fromJson(Map<String, dynamic> json) {
  return CheckoutPageConfig(
    logo: json['logo'] ?? '',
    backgroundImage: json['background_image'] ?? '',
    displayBill24Info: json['display_bill24_info'] ?? '',
    displaySuccessPage: json['display_success_page'] ?? '',
    favicon: Favicon.fromJson(json['favicon'] ?? ''),
    setting: Setting.fromJson(json['setting'] ?? ''),
    appearance: Appearance.fromJson(json['appearance'] ?? ''),
  );
}