@@ -508,3 +508,48 @@ def get_current_product_for_app(args=None):
508508 client = get_client ()
509509 app_name = get_app_name ()
510510 print_response (client .get_current_product_for_app (app_name ))
511+
512+
513+ def check_payment_information_for_app (args = None ):
514+ parser = ArgumentParser (
515+ description = """
516+ Shows the payment information for the specified app.
517+
518+ Example:
519+ $ ./bin/check_payment_information_for_app
520+ {
521+ "has_valid_vat_number": true,
522+ "has_valid_payment_method": true
523+ }
524+ """ ,
525+ formatter_class = RawTextHelpFormatter ,
526+ )
527+ parser .parse_args (args = args )
528+ client = get_client ()
529+ app_name = get_app_name ()
530+ print_response (client .check_payment_information_for_app (app_name ))
531+
532+
533+ def get_active_products (args = None ):
534+ parser = ArgumentParser (
535+ description = """
536+ Lists all available products.
537+
538+ Example:
539+ $ ./bin/get_active_products
540+ [
541+ {
542+ "code": "JACKAL_S_202301",
543+ "name": "Jackal S",
544+ "backups_enabled": true,
545+ "is_development": false,
546+ ...
547+ },
548+ ...
549+ ]
550+ """ ,
551+ formatter_class = RawTextHelpFormatter ,
552+ )
553+ parser .parse_args (args = args )
554+ client = get_client ()
555+ print_response (client .get_active_products ())
0 commit comments